Use 'by accident' instead of 'on accident'

This commit is contained in:
Ju Liu 2023-02-18 15:42:34 +00:00
parent 5285884830
commit dfeabc5933
3 changed files with 7 additions and 7 deletions

View file

@ -990,7 +990,7 @@ fn issue_2343_complete_mono_with_shadowed_vars() {
^
Since these variables have the same name, it's easy to use the wrong
one on accident. Give one of them a new name.
one by accident. Give one of them a new name.
"#
),
);