rust/clippy_config
Alejandra González 8298da72e7
Add new lint doc_include_without_cfg (#13625)
It's becoming more and more common to see people including markdown
files in their code using `doc = include_str!("...")`, which is great.
However, often there is no condition on this include, which is not great
because it slows down compilation and might trigger recompilation if
these files are updated.

This lint aims at fixing this situation.

changelog: Add new lint `doc_include_without_cfg`
2024-11-21 21:48:57 +00:00
..
src Add new lint doc_include_without_cfg (#13625) 2024-11-21 21:48:57 +00:00
Cargo.toml Add cargo dev release subcommand 2024-11-19 17:59:33 +01:00