From 9d31e4df11cfe93b3509fe65b28c201c9d61b838 Mon Sep 17 00:00:00 2001 From: trevershick Date: Mon, 17 Mar 2025 18:03:25 -0500 Subject: [PATCH] fix: adjust spelling of simlink->symlink (#13128) --- helix-stdx/tests/path.rs | 2 +- helix-view/src/document.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/helix-stdx/tests/path.rs b/helix-stdx/tests/path.rs index cc3c15cba..ebc35f028 100644 --- a/helix-stdx/tests/path.rs +++ b/helix-stdx/tests/path.rs @@ -100,7 +100,7 @@ fn test_normalize_path() -> Result<(), Box> { 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 06a708f05..1c58eda21 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),