fix: adjust spelling of simlink->symlink (#13128)

This commit is contained in:
trevershick 2025-03-17 18:03:25 -05:00 committed by GitHub
parent 27ca9d2c33
commit 9d31e4df11
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -100,7 +100,7 @@ fn test_normalize_path() -> Result<(), Box<dyn Error>> {
assert_eq!( assert_eq!(
path::normalize(&path), path::normalize(&path),
expected, expected,
"input {:?} and \"..\" should not erase the simlink that goes ahead", "input {:?} and \"..\" should not erase the symlink that goes ahead",
&path &path
); );

View file

@ -126,7 +126,7 @@ pub struct SavePoint {
#[derive(Debug, thiserror::Error)] #[derive(Debug, thiserror::Error)]
pub enum DocumentOpenError { pub enum DocumentOpenError {
#[error("path must be a regular file, simlink, or directory")] #[error("path must be a regular file, symlink, or directory")]
IrregularFile, IrregularFile,
#[error(transparent)] #[error(transparent)]
IoError(#[from] io::Error), IoError(#[from] io::Error),