This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
compiler/rustc_lint_defs/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -99,13 +99,13 @@ pub struct Lint {
9999 /// The name is written with underscores, e.g., "unused_imports".
100100 /// On the command line, underscores become dashes.
101101 ///
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>
103103 /// for naming guidelines.
104104 pub name : & ' static str ,
105105
106106 /// Default level for the lint.
107107 ///
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>
109109 /// for guidelines on choosing a default level.
110110 pub default_level : Level ,
111111
@@ -330,8 +330,8 @@ impl LintBuffer {
330330
331331/// Declares a static item of type `&'static Lint`.
332332///
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.
335335///
336336/// The macro call should start with a doc comment explaining the lint
337337/// which will be embedded in the rustc user documentation book. It should
You can’t perform that action at this time.
0 commit comments