Skip to content

Commit 0ee2650

Browse files
committed
Auto merge of #13370 - jtherrmann:master, r=dswij
Fix possible typo in `ptr_arg` lint This fixes a possible typo in the [`ptr_arg`](https://rust-lang.github.io/rust-clippy/master/index.html#/ptr_arg) lint. I'm new to Rust, so apologies if I misunderstood the meaning of this lint. changelog: [`ptr_arg`]: Fix typo ("size" -> "type")
2 parents bcf528b + 25efc04 commit 0ee2650

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)