arrayvec
arrayvec copied to clipboard
fix clippy lints and made documentation more readable
This PR does a lot of stuff:
- first I applied
cargo fmtto make the code more readable (my editor automatically does this, when I save a file) - I then fixed all clippy lints except for the following
warning: you have declared
#[inline(always)]onto_usize. This is usually a bad idea (inline_always lint)
- I also went over the entire documentation of
ArrayVecand made it more readable, by adding sections and removing redundant code in the examples