diff options
author | chunghha | 2022-04-27 19:21:20 +0000 |
---|---|---|
committer | GitHub | 2022-04-27 19:21:20 +0000 |
commit | 3a398eec56c907f9d0f166e77242eb13ded229bc (patch) | |
tree | 4411668f181c0a1ae31b6599a50c196bccd709e6 /helix-core/src/path.rs | |
parent | 2e46961886cb40b45a03a91c59823b0e437a9867 (diff) |
fix typos (#2304)
Diffstat (limited to 'helix-core/src/path.rs')
-rw-r--r-- | helix-core/src/path.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/path.rs b/helix-core/src/path.rs index e0c3bef6..6bf722a7 100644 --- a/helix-core/src/path.rs +++ b/helix-core/src/path.rs @@ -14,7 +14,7 @@ pub fn fold_home_dir(path: &Path) -> PathBuf { path.to_path_buf() } -/// Expands tilde `~` into users home directory if avilable, otherwise returns the path +/// Expands tilde `~` into users home directory if available, otherwise returns the path /// unchanged. The tilde will only be expanded when present as the first component of the path /// and only slash follows it. pub fn expand_tilde(path: &Path) -> PathBuf { |