Skip to content

Commit 2e7b289

Browse files
authored
Unrolled build for rust-lang#116423
Rollup merge of rust-lang#116423 - eltociear:patch-22, r=flip1995 Fix typo in attrs.rs documenation -> documentation
2 parents 94bc9c7 + 23efab4 commit 2e7b289

File tree

1 file changed

+2
-2
lines changed
  • src/tools/clippy/clippy_lints/src

1 file changed

+2
-2
lines changed

src/tools/clippy/clippy_lints/src/attrs.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ declare_clippy_lint! {
183183

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

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

0 commit comments

Comments
 (0)