about summary refs log tree commit diff
path: root/src/librustdoc/lint.rs
diff options
context:
space:
mode:
authorTakashi Idobe <mail@takashiidobe.com>2023-12-22 18:28:19 -0500
committerTakashi Idobe <mail@takashiidobe.com>2023-12-22 18:28:19 -0500
commitc20bdf247bd9266afe685ebe60a775d5bfa43373 (patch)
tree2165ffc9820ea2818a9f516163e93a661a19848f /src/librustdoc/lint.rs
parent398fd92e177cd1a47ae1bb146506953e87e73d30 (diff)
downloadrust-c20bdf247bd9266afe685ebe60a775d5bfa43373.tar.gz
rust-c20bdf247bd9266afe685ebe60a775d5bfa43373.zip
fix some typos found scrolling through the docs
Diffstat (limited to 'src/librustdoc/lint.rs')
-rw-r--r--src/librustdoc/lint.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/lint.rs b/src/librustdoc/lint.rs
index 267f1cb0b72..f78743a7917 100644
--- a/src/librustdoc/lint.rs
+++ b/src/librustdoc/lint.rs
@@ -186,8 +186,8 @@ declare_rustdoc_lint! {
 }
 
 declare_rustdoc_lint! {
-    /// This lint is **warned by default**. It detects explicit links that are same
-    /// as computed automatic links. This usually means the explicit links is removeable.
+    /// This lint is **warn-by-default**. It detects explicit links that are the same
+    /// as computed automatic links. This usually means the explicit links are removeable.
     /// This is a `rustdoc` only lint, see the documentation in the [rustdoc book].
     ///
     /// [rustdoc book]: ../../../rustdoc/lints.html#redundant_explicit_links