fix a typo

This commit is contained in:
Sylvestre Ledru 2021-04-26 22:51:02 +02:00 committed by GitHub
parent c69b72c840
commit ece5e14b0d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1616,7 +1616,7 @@ fn display_file_name(path: &PathData, strip: Option<&Path>, config: &Config) ->
}
}
// We need to keep track of the width ourselfs instead of letting term_grid
// We need to keep track of the width ourselves instead of letting term_grid
// infer it because the color codes mess up term_grid's width calculation.
let mut width = name.width();