mirror of
https://github.com/atuinsh/atuin.git
synced 2025-12-14 20:35:55 +01:00
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
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user