We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9c4523 commit 25efc04Copy full SHA for 25efc04
clippy_lints/src/ptr.rs
@@ -34,7 +34,7 @@ declare_clippy_lint! {
34
/// with the appropriate `.to_owned()`/`to_string()` calls.
35
///
36
/// ### Why is this bad?
37
- /// Requiring the argument to be of the specific size
+ /// Requiring the argument to be of the specific type
38
/// makes the function less useful for no benefit; slices in the form of `&[T]`
39
/// or `&str` usually suffice and can be obtained from other types, too.
40
0 commit comments