Skip to content

Commit 23efab4

Browse files
author
Ikko Eltociear Ashimine
authored
Fix typo in attrs.rs
documenation -> documentation
1 parent 65519f5 commit 23efab4

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)