This commit is contained in:
Jake Herrmann 2024-09-07 12:00:34 -08:00 committed by GitHub
parent d9c4523e6c
commit 25efc04ea5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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.
///