rust/tests/ui-toml/doc_valid_idents_replace/doc_markdown.rs

13 lines
331 B
Rust
Raw Normal View History

#![warn(clippy::doc_markdown)]
/// This is a special interface for ClipPy which doesn't require backticks
fn allowed_name() {}
/// OAuth and LaTeX are inside Clippy's default list.
fn default_name() {}
/// TestItemThingyOfCoolness might sound cool but is not on the list and should be linted.
fn unknown_name() {}
fn main() {}