diff options
| author | DaniPopes <57450786+DaniPopes@users.noreply.github.com> | 2023-04-10 22:02:52 +0200 |
|---|---|---|
| committer | DaniPopes <57450786+DaniPopes@users.noreply.github.com> | 2023-04-10 22:02:52 +0200 |
| commit | 677357d32bd402ff1096803cb00b52124204af08 (patch) | |
| tree | a0fba8dabec8265b98ad441f96d09c4603883a77 /compiler/rustc_span/src/edit_distance.rs | |
| parent | a73288371e3fa0a610fbc11e7e8418017bdfde42 (diff) | |
| download | rust-677357d32bd402ff1096803cb00b52124204af08.tar.gz rust-677357d32bd402ff1096803cb00b52124204af08.zip | |
Fix typos in compiler
Diffstat (limited to 'compiler/rustc_span/src/edit_distance.rs')
| -rw-r--r-- | compiler/rustc_span/src/edit_distance.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/edit_distance.rs b/compiler/rustc_span/src/edit_distance.rs index 9fe9e3a7a5f..259f4238654 100644 --- a/compiler/rustc_span/src/edit_distance.rs +++ b/compiler/rustc_span/src/edit_distance.rs @@ -219,7 +219,7 @@ fn find_best_match_for_name_impl( } // We have a tie among several candidates, try to select the best among them ignoring substrings. - // For example, the candidates list `force_capture`, `capture`, and user inputed `forced_capture`, + // For example, the candidates list `force_capture`, `capture`, and user inputted `forced_capture`, // we select `force_capture` with a extra round of edit distance calculation. if next_candidates.len() > 1 { debug_assert!(use_substring_score); |
