diff --git a/crates/cli/src/decompress.rs b/crates/cli/src/decompress.rs index f2f2a6747..0ef546b95 100644 --- a/crates/cli/src/decompress.rs +++ b/crates/cli/src/decompress.rs @@ -18,7 +18,7 @@ pub struct DecompressionMatcherBuilder { } /// A representation of a single command for decompressing data -/// out-of-proccess. +/// out-of-process. #[derive(Clone, Debug)] struct DecompressionCommand { /// The glob that matches this command. diff --git a/crates/globset/src/pathutil.rs b/crates/globset/src/pathutil.rs index 2bd34e1dd..522df3401 100644 --- a/crates/globset/src/pathutil.rs +++ b/crates/globset/src/pathutil.rs @@ -27,7 +27,7 @@ pub fn file_name<'a>(path: &Cow<'a, [u8]>) -> Option> { /// /// Note that this does NOT match the semantics of std::path::Path::extension. /// Namely, the extension includes the `.` and matching is otherwise more -/// liberal. Specifically, the extenion is: +/// liberal. Specifically, the extension is: /// /// * None, if the file name given is empty; /// * None, if there is no embedded `.`;