Unnamed repository; edit this file 'description' to name the repository.
fix: adjust spelling of simlink->symlink (#13128)
trevershick 11 months ago
parent 27ca9d2 · commit 9d31e4d
-rw-r--r--helix-stdx/tests/path.rs2
-rw-r--r--helix-view/src/document.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/helix-stdx/tests/path.rs b/helix-stdx/tests/path.rs
index cc3c15cb..ebc35f02 100644
--- a/helix-stdx/tests/path.rs
+++ b/helix-stdx/tests/path.rs
@@ -100,7 +100,7 @@ fn test_normalize_path() -> Result<(), Box<dyn Error>> {
assert_eq!(
path::normalize(&path),
expected,
- "input {:?} and \"..\" should not erase the simlink that goes ahead",
+ "input {:?} and \"..\" should not erase the symlink that goes ahead",
&path
);
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs
index 06a708f0..1c58eda2 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -126,7 +126,7 @@ pub struct SavePoint {
#[derive(Debug, thiserror::Error)]
pub enum DocumentOpenError {
- #[error("path must be a regular file, simlink, or directory")]
+ #[error("path must be a regular file, symlink, or directory")]
IrregularFile,
#[error(transparent)]
IoError(#[from] io::Error),