Skip to content

Commit 25efc04

Browse files
Fix typo
1 parent d9c4523 commit 25efc04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ declare_clippy_lint! {
3434
/// with the appropriate `.to_owned()`/`to_string()` calls.
3535
///
3636
/// ### Why is this bad?
37-
/// Requiring the argument to be of the specific size
37+
/// Requiring the argument to be of the specific type
3838
/// makes the function less useful for no benefit; slices in the form of `&[T]`
3939
/// or `&str` usually suffice and can be obtained from other types, too.
4040
///

0 commit comments

Comments
 (0)