mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 17:44:28 +00:00
11 lines
258 B
Rust
11 lines
258 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`].
|
|
//~^ doc_markdown
|
|
pub struct FooBar(u32);
|