3 ms·
<misread the code, please ignore>
by notamy 3y ago
<misread the code, please ignore>
- maxbond 3y agoTo clarify, they aren't disabling the lints in the section you've highlighted. `deny` makes a lint a failure instead of a warning. This is similar to `-Werror` in C. `allow` is the directive to disable a lint. Eg, I often start new or disposable projects with `#![allow(unused, dead_code)]` just to keep my IDE clean while the code is in an unpolished state.
- notamy 3y agoYou are correct! I misread it entirely, that's on me. I misread #![deny] as #![allow].