mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-23 11:33:19 +00:00
10 lines
240 B
Rust
10 lines
240 B
Rust
|
#![warn(clippy::doc_markdown)]
|
||
|
|
||
|
// Should not warn!
|
||
|
/// Blah blah blah <code>[FooBar]<[FooBar]></code>.
|
||
|
pub struct Foo(u32);
|
||
|
|
||
|
// Should warn.
|
||
|
/// Blah blah blah <code>[FooBar]<[FooBar]></code>[`FooBar`].
|
||
|
pub struct FooBar(u32);
|