chore(directory): fix typo (#3364)

seperators -> separators
This commit is contained in:
Ikko Ashimine 2021-12-31 16:22:46 +09:00 committed by GitHub
parent 23764675c0
commit c5a5fc2820
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ fn to_fish_style(pwd_dir_length: usize, dir_string: String, truncated_dir_string
.join("/") .join("/")
} }
/// Convert the path seperators in `path` to the OS specific path seperators. /// Convert the path separators in `path` to the OS specific path separators.
fn convert_path_sep(path: &str) -> String { fn convert_path_sep(path: &str) -> String {
return PathBuf::from_slash(path).to_string_lossy().into_owned(); return PathBuf::from_slash(path).to_string_lossy().into_owned();
} }