Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaslueg committed Dec 24, 2022
1 parent 1695bc4 commit 4cacc4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/size_of_ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl LateLintPass<'_> for SizeOfRef {
expr.span,
"argument to `std::mem::size_of_val()` is a reference to a reference",
None,
"dereference the argument to `std::mem::size_of_val()` to get the size of the value instead of the generic size of any reference-type",
"dereference the argument to `std::mem::size_of_val()` to get the size of the value instead of the size of the reference-type",
);
}
}
Expand Down

0 comments on commit 4cacc4f

Please sign in to comment.