mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-30 06:53:27 +00:00
14 lines
329 B
Rust
14 lines
329 B
Rust
|
// 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,
|
||
|
}
|