Skip to content

Commit

Permalink
Rollup merge of #83810 - benmezger:update-builtin-docs-typo, r=jonas-…
Browse files Browse the repository at this point in the history
…schievink

Fix rustc_lint_defs documentation typo

Found a typo while reading the documentation. This PR fixes it.
  • Loading branch information
JohnTitor authored Apr 3, 2021
2 parents d636b0a + 7b05cff commit b2daca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_lint_defs/src/builtin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b2daca7

Please sign in to comment.