Skip to content

Commit

Permalink
Unrolled build for rust-lang#116423
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#116423 - eltociear:patch-22, r=flip1995

Fix typo in attrs.rs

documenation -> documentation
  • Loading branch information
rust-timer committed Oct 6, 2023
2 parents 94bc9c7 + 23efab4 commit 2e7b289
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/clippy/clippy_lints/src/attrs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ declare_clippy_lint! {

declare_clippy_lint! {
/// ### What it does
/// Checks for empty lines after documenation comments.
/// Checks for empty lines after documentation comments.
///
/// ### Why is this bad?
/// The documentation comment was most likely meant to be an inner attribute or regular comment.
Expand Down Expand Up @@ -795,7 +795,7 @@ impl EarlyLintPass for EarlyAttributes {

/// Check for empty lines after outer attributes.
///
/// Attributes and documenation comments are both considered outer attributes
/// Attributes and documentation comments are both considered outer attributes
/// by the AST. However, the average user likely considers them to be different.
/// Checking for empty lines after each of these attributes is split into two different
/// lints but can share the same logic.
Expand Down

0 comments on commit 2e7b289

Please sign in to comment.