File tree 1 file changed +4
-4
lines changed
compiler/rustc_lint_defs/src
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -99,13 +99,13 @@ pub struct Lint {
99
99
/// The name is written with underscores, e.g., "unused_imports".
100
100
/// On the command line, underscores become dashes.
101
101
///
102
- /// See https://rustc-dev-guide.rust-lang.org/diagnostics.html#lint-naming
102
+ /// See < https://rustc-dev-guide.rust-lang.org/diagnostics.html#lint-naming>
103
103
/// for naming guidelines.
104
104
pub name : & ' static str ,
105
105
106
106
/// Default level for the lint.
107
107
///
108
- /// See https://rustc-dev-guide.rust-lang.org/diagnostics.html#diagnostic-levels
108
+ /// See < https://rustc-dev-guide.rust-lang.org/diagnostics.html#diagnostic-levels>
109
109
/// for guidelines on choosing a default level.
110
110
pub default_level : Level ,
111
111
@@ -330,8 +330,8 @@ impl LintBuffer {
330
330
331
331
/// Declares a static item of type `&'static Lint`.
332
332
///
333
- /// See https://rustc-dev-guide.rust-lang.org/diagnostics.html for documentation
334
- /// and guidelines on writing lints.
333
+ /// See < https://rustc-dev-guide.rust-lang.org/diagnostics.html> for
334
+ /// documentation and guidelines on writing lints.
335
335
///
336
336
/// The macro call should start with a doc comment explaining the lint
337
337
/// which will be embedded in the rustc user documentation book. It should
You can’t perform that action at this time.
0 commit comments