Fix various typos (#18219)
Found via `codespell -q 3 -S ./options/locale,./vendor -L ba,pullrequest,pullrequests,readby,te,unknwon` Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
parent
242dddfcb7
commit
8c647bf0f6
31 changed files with 40 additions and 40 deletions
|
@ -880,7 +880,7 @@ parsingLoop:
|
|||
// Handle ambiguous filenames
|
||||
if curFile.IsAmbiguous {
|
||||
// The shortest string that can end up here is:
|
||||
// "--- a\t\n" without the qoutes.
|
||||
// "--- a\t\n" without the quotes.
|
||||
// This line has a len() of 7 but doesn't contain a oldName.
|
||||
// So the amount that the line need is at least 8 or more.
|
||||
// The code will otherwise panic for a out-of-bounds.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue