aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/surround.rs
diff options
context:
space:
mode:
authorRyan Russell2022-06-01 17:01:37 +0000
committerGitHub2022-06-01 17:01:37 +0000
commitae12c58f0ff924e9cc512f0368e5fca858566cdd (patch)
tree62bde8852872881444465558b3fc576335c8e420 /helix-core/src/surround.rs
parentfc666db6b99a8baab0acf3791f9965e7cb2be9e1 (diff)
Improve Readability (#2639)
Diffstat (limited to 'helix-core/src/surround.rs')
-rw-r--r--helix-core/src/surround.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/surround.rs b/helix-core/src/surround.rs
index db51b8f1..6244b380 100644
--- a/helix-core/src/surround.rs
+++ b/helix-core/src/surround.rs
@@ -66,7 +66,7 @@ pub fn find_nth_closest_pairs_pos(
for ch in text.chars_at(pos) {
if is_open_pair(ch) {
// Track open pairs encountered so that we can step over
- // the correspoding close pairs that will come up further
+ // the corresponding close pairs that will come up further
// down the loop. We want to find a lone close pair whose
// open pair is before the cursor position.
stack.push(ch);