You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure how important Clippy configuration is for the examples, and I have to return to this after I move the tests.
Feature list
Since I'm not sure what each part does, I'll add links and discuss the other parts below.
clippy::needless_borrow - "Checks for address of operations (&) that are going to be dereferenced immediately by the compiler." It seems like a good idea to enable this check again.
The original tutorial file contains this line:
#![allow(clippy::restriction, clippy::needless_borrow)]
There's another Clippy config at million_accounts_genesis:
#![allow(missing_docs, clippy::pedantic, clippy::restriction)]
I'm not sure how important Clippy configuration is for the examples, and I have to return to this after I move the tests.
Feature list
Since I'm not sure what each part does, I'll add links and discuss the other parts below.
clippy::needless_borrow
- "Checks for address of operations (&) that are going to be dereferenced immediately by the compiler." It seems like a good idea to enable this check again.clippy::restriction
- https://doc.rust-lang.org/stable/clippy/usage.html#clippyrestrictionclippy::pedantic
- https://doc.rust-lang.org/stable/clippy/usage.html#clippypedanticmissing_docs
- I don't know how similar it is to themissing_docs_in_private_items
The text was updated successfully, but these errors were encountered: