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

13 lines
337 B
Rust
Raw Normal View History

2023-07-27 06:40:22 -05:00
#![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() {}