File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ This lint **warns by default**. This lint detects when [intra-doc links] from pu
7070For example:
7171
7272``` rust
73- #![warn(private_intra_doc_links)]
73+ #![warn(rustdoc :: private_intra_doc_links)] // note: unecessary - warns by default.
7474
7575/// [private]
7676pub fn public () {}
@@ -112,7 +112,7 @@ This lint is **allowed by default**. It detects items missing documentation.
112112For example:
113113
114114``` rust
115- #![warn(missing_docs)]
115+ #![warn(rustdoc :: missing_docs)]
116116
117117pub fn undocumented () {}
118118# fn main () {}
@@ -229,7 +229,7 @@ This lint **warns by default**. It detects code block attributes in
229229documentation examples that have potentially mis-typed values. For example:
230230
231231``` rust
232- #![warn(rustdoc:: invalid_codeblock_attributes)]
232+ #![warn(rustdoc:: invalid_codeblock_attributes)] // note: unecessary - warns by default.
233233
234234/// Example.
235235///
@@ -304,7 +304,7 @@ This lint is **warn-by-default**. It detects URLs which are not links.
304304For example:
305305
306306``` rust
307- #![warn(bare_urls)]
307+ #![warn(rustdoc :: bare_urls)] // note: unecessary - warns by default.
308308
309309/// http://example.org
310310/// [http://example.net]
You can’t perform that action at this time.
0 commit comments