Skip to content

Commit 79cda3b

Browse files
committed
mem_replace: fix grammar.
1 parent 2f53aaa commit 79cda3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/mem_replace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for MemReplace {
5454
then {
5555
// Since this is a late pass (already type-checked),
5656
// and we already know that the second argument is an
57-
// `Option`, we do not need to check if the first
57+
// `Option`, we do not need to check the first
5858
// argument's type. All that's left is to get
5959
// replacee's path.
6060
let replaced_path = match func_args[0].node {

0 commit comments

Comments
 (0)