Skip to content

Commit

Permalink
fix: revert typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tiendn committed Jan 13, 2025
1 parent e956467 commit 35b93d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/node/core/src/dirs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pub trait XdgPath {
fn resolve() -> Option<PathBuf>;
}

/// 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
Expand Down
2 changes: 1 addition & 1 deletion crates/node/core/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<PathBuf, shellexpand::LookupError<VarError>> {
shellexpand::full(value).map(|path| PathBuf::from(path.into_owned()))
Expand Down

0 comments on commit 35b93d6

Please sign in to comment.