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
70
70
For example:
71
71
72
72
``` rust
73
- #![warn(private_intra_doc_links)]
73
+ #![warn(rustdoc :: private_intra_doc_links)] // note: unecessary - warns by default.
74
74
75
75
/// [private]
76
76
pub fn public () {}
@@ -112,7 +112,7 @@ This lint is **allowed by default**. It detects items missing documentation.
112
112
For example:
113
113
114
114
``` rust
115
- #![warn(missing_docs)]
115
+ #![warn(rustdoc :: missing_docs)]
116
116
117
117
pub fn undocumented () {}
118
118
# fn main () {}
@@ -229,7 +229,7 @@ This lint **warns by default**. It detects code block attributes in
229
229
documentation examples that have potentially mis-typed values. For example:
230
230
231
231
``` rust
232
- #![warn(rustdoc:: invalid_codeblock_attributes)]
232
+ #![warn(rustdoc:: invalid_codeblock_attributes)] // note: unecessary - warns by default.
233
233
234
234
/// Example.
235
235
///
@@ -304,7 +304,7 @@ This lint is **warn-by-default**. It detects URLs which are not links.
304
304
For example:
305
305
306
306
``` rust
307
- #![warn(bare_urls)]
307
+ #![warn(rustdoc :: bare_urls)] // note: unecessary - warns by default.
308
308
309
309
/// http://example.org
310
310
/// [http://example.net]
You can’t perform that action at this time.
0 commit comments