Skip to content

Commit 3b7d6ee

Browse files
mikeriteflip1995
mikerite
andauthored
Fix comment grammar
Co-Authored-By: Philipp Krones <[email protected]>
1 parent 98585a0 commit 3b7d6ee

File tree

1 file changed

+1
-1
lines changed
  • clippy_lints/src/methods

1 file changed

+1
-1
lines changed

clippy_lints/src/methods/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1884,7 +1884,7 @@ fn lint_map_unwrap_or_else<'a, 'tcx>(
18841884

18851885
if is_option || is_result {
18861886
// Don't make a suggestion that may fail to compile due to mutably borrowing
1887-
// they same variable twice.
1887+
// the same variable twice.
18881888
let map_mutated_vars = mutated_variables(&map_args[0], cx);
18891889
let unwrap_mutated_vars = mutated_variables(&unwrap_args[1], cx);
18901890
if let (Some(map_mutated_vars), Some(unwrap_mutated_vars)) = (map_mutated_vars, unwrap_mutated_vars) {

0 commit comments

Comments
 (0)