diff --git a/src/cargo/util/mod.rs b/src/cargo/util/mod.rs index 39edef4587b..12b1520181f 100644 --- a/src/cargo/util/mod.rs +++ b/src/cargo/util/mod.rs @@ -157,7 +157,7 @@ pub fn try_canonicalize>(path: P) -> std::io::Result { 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();