aboutsummaryrefslogtreecommitdiff
path: root/helix-core
diff options
context:
space:
mode:
authorAlexandr2023-02-22 13:25:15 +0000
committerGitHub2023-02-22 13:25:15 +0000
commit8043959265366ed0c945b7f868337a3f9823a747 (patch)
tree95459491b08ac2d673e6bf4491a1678013fc7d15 /helix-core
parent1a87d14439bc940d9bf3e66359a612b345aa363f (diff)
Doc string fix in selection.rs (#6077)
* Doc string fix Delete duplicate `the` * selection.rs doc string wording * Remove extra whitespace at end of doc text --------- Co-authored-by: Ivan Tham <pickfire@riseup.net>
Diffstat (limited to 'helix-core')
-rw-r--r--helix-core/src/selection.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/helix-core/src/selection.rs b/helix-core/src/selection.rs
index 7817618f..0ac2c680 100644
--- a/helix-core/src/selection.rs
+++ b/helix-core/src/selection.rs
@@ -21,14 +21,14 @@ use std::borrow::Cow;
/// can be in any order, or even share the same position.
///
/// The anchor and head positions use gap indexing, meaning
-/// that their indices represent the the gaps *between* `char`s
+/// that their indices represent the gaps *between* `char`s
/// rather than the `char`s themselves. For example, 1
/// represents the position between the first and second `char`.
///
-/// Below are some example `Range` configurations to better
-/// illustrate. The anchor and head indices are show as
-/// "(anchor, head)", followed by example text with "[" and "]"
-/// inserted to represent the anchor and head positions:
+/// Below are some examples of `Range` configurations.
+/// The anchor and head indices are shown as "(anchor, head)"
+/// tuples, followed by example text with "[" and "]" symbols
+/// representing the anchor and head positions:
///
/// - (0, 3): `[Som]e text`.
/// - (3, 0): `]Som[e text`.