Add and resolve an obscene amount of lints

This commit is contained in:
Juno Takano 2025-12-11 02:21:56 -03:00
commit 0d0627ba8f
5 changed files with 264 additions and 56 deletions

22
docs/notes.md Normal file
View 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`