diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-10-06 21:17:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-06 21:17:49 +0200 |
| commit | 81192f2fc46ee8483efc908314d8c5f5e314799d (patch) | |
| tree | 6974c721709556794ef54c0165b040ce84fb51e6 | |
| parent | fdb136a83f32555c76911e9c77f62ad21cbfadd3 (diff) | |
| parent | 23efab4811c44e315ffd0322c69cbcbc3125eddf (diff) | |
| download | rust-81192f2fc46ee8483efc908314d8c5f5e314799d.tar.gz rust-81192f2fc46ee8483efc908314d8c5f5e314799d.zip | |
Rollup merge of #116423 - eltociear:patch-22, r=flip1995
Fix typo in attrs.rs documenation -> documentation
| -rw-r--r-- | src/tools/clippy/clippy_lints/src/attrs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/clippy/clippy_lints/src/attrs.rs b/src/tools/clippy/clippy_lints/src/attrs.rs index 0546807bac4..db01ddbde04 100644 --- a/src/tools/clippy/clippy_lints/src/attrs.rs +++ b/src/tools/clippy/clippy_lints/src/attrs.rs @@ -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. @@ -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. |
