aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/graphemes.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/graphemes.rs
parentfc666db6b99a8baab0acf3791f9965e7cb2be9e1 (diff)
Improve Readability (#2639)
Diffstat (limited to 'helix-core/src/graphemes.rs')
-rw-r--r--helix-core/src/graphemes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/graphemes.rs b/helix-core/src/graphemes.rs
index c0c61775..675f5750 100644
--- a/helix-core/src/graphemes.rs
+++ b/helix-core/src/graphemes.rs
@@ -14,7 +14,7 @@ pub fn grapheme_width(g: &str) -> usize {
// Point 1: theoretically, ascii control characters should have zero
// width, but in our case we actually want them to have width: if they
// show up in text, we want to treat them as textual elements that can
- // be editied. So we can get away with making all ascii single width
+ // be edited. So we can get away with making all ascii single width
// here.
// Point 2: we're only examining the first codepoint here, which means
// we're ignoring graphemes formed with combining characters. However,