summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJoão Marcos P. Bezerra <marcospb19@hotmail.com>2023-10-24 00:40:12 -0300
committerJoão Marcos P. Bezerra <marcospb19@hotmail.com>2023-10-24 00:40:12 -0300
commit7263b5e01dab9ba0c6335850fc71c1233c7b3785 (patch)
treeec9832245a313660d41a89923045936eed8289ce /src
parentc6fcdbe000d2ac0161eaba524f020d6ccdbc50d5 (diff)
Fix docs typos
Diffstat (limited to 'src')
-rw-r--r--src/cli.rs4
-rw-r--r--src/exec/token.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 820249a..541b776 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -49,7 +49,7 @@ pub struct Opts {
/// Show search results from files and directories that would otherwise be
/// ignored by '.gitignore', '.ignore', '.fdignore', the global ignore file,
- /// or the default rule tthat excludes .git/.
+ /// or the default rule that excludes .git/.
/// The flag can be overridden with --ignore.
#[arg(
long,
@@ -226,7 +226,7 @@ pub struct Opts {
alias = "dereference",
long_help = "By default, fd does not descend into symlinked directories. Using this \
flag, symbolic links are also traversed. \
- Flag can be overriden with --no-follow."
+ Flag can be overridden with --no-follow."
)]
pub follow: bool,
diff --git a/src/exec/token.rs b/src/exec/token.rs
index c4bc4af..2dc37ce 100644
--- a/src/exec/token.rs
+++ b/src/exec/token.rs
@@ -48,7 +48,7 @@ pub(super) fn tokenize(input: &str) -> ArgumentTemplate {
0 | 1 => {
// we found an escaped {{ or }}, so add
// everything up to the first char to the buffer
- // then skipp the second one.
+ // then skip the second one.
buf += &remaining[..m.start() + BRACE_LEN];
remaining = &remaining[m.end()..];
}