Skip to content

Commit

Permalink
Fix misspelling
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss authored Apr 8, 2023
1 parent e83338b commit 5430956
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/util/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ pub fn try_canonicalize<P: AsRef<Path>>(path: P) -> std::io::Result<PathBuf> {
return Err(Error::new(ErrorKind::NotFound, "the path was not found"));
}

// This code is based on the unstable `std::path::aboslute` and could be replaced with it
// This code is based on the unstable `std::path::absolute` and could be replaced with it
// if it's stabilized.

let path = path.as_ref().as_os_str();
Expand Down

0 comments on commit 5430956

Please sign in to comment.