Edition 2018 clean up#113
Conversation
|
There is a typo in one of the commit messages, and it looks like this will fail CI due needing a |
56965a7 to
76795a9
Compare
|
|
||
| impl ::std::fmt::Display for $affine { | ||
| fn fmt(&self, f: &mut ::std::fmt::Formatter) -> ::std::fmt::Result { | ||
| fn fmt(&self, f: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result { |
There was a problem hiding this comment.
Note: In pairing I did a find and replace on ::std::fmt::Formatter/::std::fmt::Formatter<'_>. cargo fix --edition-idioms would fail here and try to double add the <'_>.
str4d
left a comment
There was a problem hiding this comment.
ACK mod comments, but zcash_proofs has not been editionized.
| #[cfg(feature = "multicore")] | ||
| extern crate crossbeam; | ||
| #[cfg(feature = "multicore")] | ||
| extern crate futures_cpupool; |
There was a problem hiding this comment.
Why does this multicore-conditional extern crate disappear, but not the other two?
There was a problem hiding this comment.
extern crate hex_literal stays as expected because of the #[macro_use].
| extern crate rand; | ||
|
|
||
| #[cfg(test)] | ||
| extern crate rand_xorshift; |
There was a problem hiding this comment.
Why does this test-conditional extern crate disappear, but not the extern crate rand?
Co-Authored-By: str4d <thestr4d@gmail.com>
There were no changes when running |
* Add Validator setup, automate app.toml update * Fix lucide-react title prop TS error on icon components Wrap ShieldCheck and ShieldAlert icons in <span> elements for the title attribute, since this lucide-react version doesn't accept title as a prop. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Remove chain-rounds references deleted on main ChainRoundsView and Server import were removed in main but incorrectly kept during merge conflict resolution. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Show "Connect admin wallet" button in publish modal when no wallet connected Instead of showing an error after clicking publish, the modal now shows a "Connect admin wallet" button that navigates to Settings. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Fix missing onGoToSettings destructure in PublishModal Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Show inline wallet connect in publish modal instead of navigating to settings When no wallet is connected, the publish modal now shows Keplr and dev-key connection options directly. Once connected it switches to the normal publish confirmation view. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Remove Downloads from sidebar Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Remove unused Download import from Sidebar Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This PR runs
cargo fix --editionandcargo fix --edition-idiomson all of the modules which needed it, and includes some warning cleanup along the way. The folderszcash_primitives/benches/...andpairing/benches/...were omitted when running the fix because they depend on unstable features, so it is possible that they no longer work. @ebfull suggested updating the benchmarks to use https://docs.rs/criterion/0.2.11/criterion/ which could be done as part of this PR, but might make more sense to be done as follow up.Closes #97.