Skip to content

Commit

Permalink
chore: removing commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
sminez committed Sep 17, 2024
1 parent 294b6f7 commit 7069431
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/dot/text_object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,11 @@ impl Find for FindDelimited {

for (i, ch) in it {
if other.contains(ch) && target != other {
// if ch == other && target != other {
skips += 1;
} else if skips == 0 && target.contains(ch) {
// } else if skips == 0 && ch == target {
let ix = if self.rev { i + 1 } else { i - 1 };
return Some((ix, ix));
} else if target.contains(ch) {
// } else if ch == target {
skips -= 1;
}
}
Expand Down

0 comments on commit 7069431

Please sign in to comment.