rust-clippy/tests/ui/doc/doc_markdown-issue_13097.fixed

14 lines
329 B
Rust
Raw Normal View History

2024-07-26 09:12:59 +00:00
// This test checks that words starting with capital letters and ending with "ified" don't
// trigger the lint.
#![deny(clippy::doc_markdown)]
pub enum OutputFormat {
/// `HumaNified`
//~^ ERROR: item in documentation is missing backticks
Plain,
// Should not warn!
/// JSONified console output
Json,
}