Closed celialewis3 closed 3 years ago
You'll need to add the lints to main.rs
as well since this is both a library and a binary.
I added the lints to main.rs
as well as copied the full contents from BEGIN
to END
. However I had to leave out #![deny(unsafe_code)]
in lib.rs
because we have several unsafe blocks in there.
That's fine, the lints are generally applicable, but don't fit for all of our current code.
I added the lints to
main.rs
as well as copied the full contents fromBEGIN
toEND
. However I had to leave out#![deny(unsafe_code)]
inlib.rs
because we have several unsafe blocks in there.
Don't leave it out in the template, do an allow(unsafe_code)
after it instead. the template should be unchanged but it is fine to override after it in the crate-specific section. can look a bit silly but it is so that we can just copy'n'paste the template to any repo unmodified
Fixed #159 to update clippy lints in
lib.rs
to Embark's v03 clippy lints.