rust/clippy_lints
bors 6ba3a00b94 Auto merge of #9822 - Veykril:unnecessary-safety-doc, r=Jarcho
Add `unnecessary_safety_doc` lint

changelog: [`unnecessary_safety_doc`]: Add `unnecessary_safety_doc` lint

fixes https://github.com/rust-lang/rust-clippy/issues/6880

This lint does not trigger for private functions, just like `missing_safety_docs`. Reason for that was implementation simplicity and because I figured asking first would make more sense, so if it should trigger for private functions as well let me know and I'll fix that up as well.
2022-11-13 14:18:04 +00:00
..
src Auto merge of #9822 - Veykril:unnecessary-safety-doc, r=Jarcho 2022-11-13 14:18:04 +00:00
Cargo.toml Generate lint categories and explanations with declare_clippy_lint 2022-10-23 20:32:26 +00:00
foo.txt Bless all let_underscore tests 2022-11-04 21:21:55 -07:00
README.md

This crate contains Clippy lints. For the main crate, check GitHub.