Fill out some more docs

This commit is contained in:
grovesNL 2023-01-29 22:29:17 -03:30
parent 983d6b7eac
commit a3e035881b
4 changed files with 7 additions and 2 deletions

View file

@ -56,7 +56,7 @@
// Not interested in these lints
#![allow(clippy::new_without_default)]
// TODO: address ocurrances and then deny
// TODO: address occurrences and then deny
//
// Indexing a slice can cause panics and that is something we always want to avoid
#![allow(clippy::indexing_slicing)]
@ -64,7 +64,7 @@
#![allow(clippy::integer_arithmetic)]
// Soundness issues
//
// Dereferencing unalinged pointers may be undefined behavior
// Dereferencing unaligned pointers may be undefined behavior
#![deny(clippy::cast_ptr_alignment)]
// Avoid panicking in without information about the panic. Use expect
#![deny(clippy::unwrap_used)]