From 3b7d6eeb4fc4112504fc77dee6fc35a16c80f05c Mon Sep 17 00:00:00 2001 From: mikerite <33983332+mikerite@users.noreply.github.com> Date: Tue, 4 Jun 2019 08:27:31 +0200 Subject: [PATCH] Fix comment grammar Co-Authored-By: Philipp Krones --- clippy_lints/src/methods/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs index ae3f72e98e4e..1e7ff4907ae6 100644 --- a/clippy_lints/src/methods/mod.rs +++ b/clippy_lints/src/methods/mod.rs @@ -1884,7 +1884,7 @@ fn lint_map_unwrap_or_else<'a, 'tcx>( if is_option || is_result { // Don't make a suggestion that may fail to compile due to mutably borrowing - // they same variable twice. + // the same variable twice. let map_mutated_vars = mutated_variables(&map_args[0], cx); let unwrap_mutated_vars = mutated_variables(&unwrap_args[1], cx); if let (Some(map_mutated_vars), Some(unwrap_mutated_vars)) = (map_mutated_vars, unwrap_mutated_vars) {