Add and resolve an obscene amount of lints
This commit is contained in:
parent
b306f04664
commit
0d0627ba8f
5 changed files with 264 additions and 56 deletions
22
docs/notes.md
Normal file
22
docs/notes.md
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# Notes
|
||||
|
||||
## CI
|
||||
|
||||
When adding CI jobs, consider the following lints:
|
||||
|
||||
- `clippy::dbg_macro`
|
||||
- `clippy::print_stderr`
|
||||
- `clippy::print_stdout`
|
||||
- `clippy::todo`
|
||||
- `clippy::unimplemented`
|
||||
- `clippy::unreachable`
|
||||
- `clippy::use_debug`
|
||||
|
||||
## BTreeMap
|
||||
|
||||
Consider replacing HashMap with BTreeMap to stop nodes from shifting position constantly on every page load.
|
||||
|
||||
See also:
|
||||
- <https://doc.rust-lang.org/std/collections/struct.BTreeMap.html#background>
|
||||
- `clippy::iter_over_hash_type`
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue