diff options
| author | Jake Herrmann <jtherrmann1@gmail.com> | 2024-09-07 12:00:34 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-07 12:00:34 -0800 |
| commit | 25efc04ea554301374ac8e6270dbc7f65fead347 (patch) | |
| tree | 76234bff191107eb9135d3a02d44f2dc0b72a9cd | |
| parent | d9c4523e6cded5fb1fc3cffc8af45a0a003599a9 (diff) | |
| download | rust-25efc04ea554301374ac8e6270dbc7f65fead347.tar.gz rust-25efc04ea554301374ac8e6270dbc7f65fead347.zip | |
Fix typo
| -rw-r--r-- | clippy_lints/src/ptr.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/ptr.rs b/clippy_lints/src/ptr.rs index 125f694996c..7d24d25dc2f 100644 --- a/clippy_lints/src/ptr.rs +++ b/clippy_lints/src/ptr.rs @@ -34,7 +34,7 @@ declare_clippy_lint! { /// with the appropriate `.to_owned()`/`to_string()` calls. /// /// ### Why is this bad? - /// Requiring the argument to be of the specific size + /// Requiring the argument to be of the specific type /// makes the function less useful for no benefit; slices in the form of `&[T]` /// or `&str` usually suffice and can be obtained from other types, too. /// |
