Request Clippy lints for antipatterns we discover · Issue #21 · rust-secure-code/safety-dance (original) (raw)
We encounter a lot of unsafe code that can be converted to safe. We should start cataloguing the antipatterns we discover and document how to convert them to safe code.
Also, for every antipattern discovered we should open an issue against Clippy to detect it - that way we can effectively prevent such cases in the future. This already has precedent, see e.g. rust-lang/rust-clippy#3237