Skip to content

Commit 16ed850

Browse files
Fix more URLs
1 parent 9d11450 commit 16ed850

File tree

1 file changed

+4
-4
lines changed
  • compiler/rustc_lint_defs/src

1 file changed

+4
-4
lines changed

compiler/rustc_lint_defs/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)