mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 07:04:18 +00:00
Fix typo
This commit is contained in:
parent
d9c4523e6c
commit
25efc04ea5
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue