From 35b93d654c99dfa1ccd43a0ddbc3e96d52ed829b Mon Sep 17 00:00:00 2001 From: tiendn <15717476+tiendn@users.noreply.github.com> Date: Mon, 13 Jan 2025 23:44:12 +0700 Subject: [PATCH] fix: revert typo --- crates/node/core/src/dirs.rs | 2 +- crates/node/core/src/utils.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/node/core/src/dirs.rs b/crates/node/core/src/dirs.rs index c925b4c39731..4f8507c4e687 100644 --- a/crates/node/core/src/dirs.rs +++ b/crates/node/core/src/dirs.rs @@ -83,7 +83,7 @@ pub trait XdgPath { fn resolve() -> Option; } -/// A wrapper type that either parses an user-given path or defaults to an +/// A wrapper type that either parses a user-given path or defaults to an /// OS-specific path. /// /// The [`FromStr`] implementation supports shell expansions and common patterns such as `~` for the diff --git a/crates/node/core/src/utils.rs b/crates/node/core/src/utils.rs index 546835a2b4e0..31d847da7fbd 100644 --- a/crates/node/core/src/utils.rs +++ b/crates/node/core/src/utils.rs @@ -17,7 +17,7 @@ use std::{ }; use tracing::{debug, info}; -/// Parses an user-specified path with support for environment variables and common shorthands (e.g. +/// Parses a user-specified path with support for environment variables and common shorthands (e.g. /// ~ for the user's home directory). pub fn parse_path(value: &str) -> Result> { shellexpand::full(value).map(|path| PathBuf::from(path.into_owned()))