diff options
author | cuishuang <imcusg@gmail.com> | 2022-04-24 17:00:39 +0800 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2023-07-08 18:52:42 -0400 |
commit | 97b5b7769c717078515eb2f461a9ed2b3befaf6c (patch) | |
tree | b32ded53e3861428b07d849e66ae8806e6e44157 | |
parent | 2708f9e81d790b42783fbe6ee4f2dd6b5d091eb7 (diff) |
doc: fix some typos
Closes #2195
-rw-r--r-- | crates/cli/src/decompress.rs | 2 | ||||
-rw-r--r-- | crates/globset/src/pathutil.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/cli/src/decompress.rs b/crates/cli/src/decompress.rs index f2f2a674..0ef546b9 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 2bd34e1d..522df340 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<Cow<'a, [u8]>> { /// /// 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 `.`; |