about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Mezger <me@benmezger.nl>2021-04-03 12:00:28 -0300
committerBen Mezger <me@benmezger.nl>2021-04-03 12:00:28 -0300
commit7b05cffa185a3ea5f9e0e3308bef8b6043a9a341 (patch)
tree66363c22ee9c74532ac7783fceb2a93e7680211c
parent640ce99bfe70375a24c6775a937d6a258b40398b (diff)
downloadrust-7b05cffa185a3ea5f9e0e3308bef8b6043a9a341.tar.gz
rust-7b05cffa185a3ea5f9e0e3308bef8b6043a9a341.zip
Fix rustc_lint_defs documentation typo
-rw-r--r--compiler/rustc_lint_defs/src/builtin.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs
index b602490905c..27724b4965c 100644
--- a/compiler/rustc_lint_defs/src/builtin.rs
+++ b/compiler/rustc_lint_defs/src/builtin.rs
@@ -547,7 +547,7 @@ declare_lint! {
     /// Also consider if you intended to use an _inner attribute_ (with a `!`
     /// such as `#![allow(unused)]`) which applies to the item the attribute
     /// is within, or an _outer attribute_ (without a `!` such as
-    /// `#[allow(unsued)]`) which applies to the item *following* the
+    /// `#[allow(unused)]`) which applies to the item *following* the
     /// attribute.
     ///
     /// [attributes]: https://doc.rust-lang.org/reference/attributes.html