Skip to content

Commit db32d39

Browse files
Fix typo (#15081)
Add missing word (attribute) after the `#[expect]` attribute. changelog: [`allow_attributes`]: Fix typo in documentation
2 parents 498562d + 9c8f3e9 commit db32d39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/attrs/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ declare_clippy_lint! {
207207
declare_clippy_lint! {
208208
/// ### What it does
209209
/// Checks for usage of the `#[allow]` attribute and suggests replacing it with
210-
/// the `#[expect]` (See [RFC 2383](https://rust-lang.github.io/rfcs/2383-lint-reasons.html))
210+
/// the `#[expect]` attribute (See [RFC 2383](https://rust-lang.github.io/rfcs/2383-lint-reasons.html))
211211
///
212212
/// This lint only warns outer attributes (`#[allow]`), as inner attributes
213213
/// (`#![allow]`) are usually used to enable or disable lints on a global scale.

0 commit comments

Comments
 (0)