diff options
| author | Zhizhen He <hezhizhen.yi@gmail.com> | 2025-11-18 11:24:40 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-17 19:24:40 -0800 |
| commit | 74826fc2adddc469a5f8d46bc41d6f8f594589f8 (patch) | |
| tree | 4dc8f0d73c656e3578b7583207440fd84c49d2ed | |
| parent | chore(deps): Update the directories dependency to 6.0.0 (#2982) (diff) | |
| download | atuin-74826fc2adddc469a5f8d46bc41d6f8f594589f8.zip | |
chore: fix typo (#2994)
<!-- Thank you for making a PR! Bug fixes are always welcome, but if
you're adding a new feature or changing an existing one, we'd really
appreciate if you open an issue, post on the forum, or drop in on
Discord -->
Fixed typo in comment.
## Checks
- [x] I am happy for maintainers to push small adjustments to this PR,
to speed up the review cycle
- [x] I have checked that there are no existing pull requests for the
same thing
| -rw-r--r-- | crates/atuin/src/command/client/search/engines/skim.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/atuin/src/command/client/search/engines/skim.rs b/crates/atuin/src/command/client/search/engines/skim.rs index 1af49574..cb7ce24f 100644 --- a/crates/atuin/src/command/client/search/engines/skim.rs +++ b/crates/atuin/src/command/client/search/engines/skim.rs @@ -203,7 +203,7 @@ fn path_dist(a: &Path, b: &Path) -> usize { let mut dist = 0; - // pop a until there's a common anscestor + // pop a until there's a common ancestor while !b.starts_with(&a) { dist += 1; a.pop(); |
