From 79cda3bb1ef7f4261bf0fb18bbb141127d31c5a5 Mon Sep 17 00:00:00 2001 From: Jay Kickliter Date: Wed, 19 Sep 2018 14:54:38 -0700 Subject: [PATCH] mem_replace: fix grammar. --- clippy_lints/src/mem_replace.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/mem_replace.rs b/clippy_lints/src/mem_replace.rs index 22460ccb5ea5..fd22e3afe805 100644 --- a/clippy_lints/src/mem_replace.rs +++ b/clippy_lints/src/mem_replace.rs @@ -54,7 +54,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for MemReplace { then { // Since this is a late pass (already type-checked), // and we already know that the second argument is an - // `Option`, we do not need to check if the first + // `Option`, we do not need to check the first // argument's type. All that's left is to get // replacee's path. let replaced_path = match func_args[0].node {