aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/path.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src/path.rs')
-rw-r--r--helix-core/src/path.rs2
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 {