on master help sign in
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>

commit8043959265366ed0c945b7f868337a3f9823a747 authorAlexandr <maslov@fastmail.nl> dateWed 22 Feb 2023, 15:25 (4 years ago) parent1a87d14
1 file changed+5−5
helix-core/src/selection.rs+5−5
helix-core/src/selection.rs+5−5
@@ -21,14 +21,14 @@ use std::borrow::Cow;
2121/// can be in any order, or even share the same position.
2222///
2323/// The anchor and head positions use gap indexing, meaning
24−/// that their indices represent the the gaps *between* `char`s
24+/// that their indices represent the gaps *between* `char`s
2525/// rather than the `char`s themselves. For example, 1
2626/// represents the position between the first and second `char`.
2727///
28−/// Below are some example `Range` configurations to better
29−/// illustrate. The anchor and head indices are show as
30−/// "(anchor, head)", followed by example text with "[" and "]"
31−/// inserted to represent the anchor and head positions:
28+/// Below are some examples of `Range` configurations.
29+/// The anchor and head indices are shown as "(anchor, head)"
30+/// tuples, followed by example text with "[" and "]" symbols
31+/// representing the anchor and head positions:
3232///
3333/// - (0, 3): `[Som]e text`.
3434/// - (3, 0): `]Som[e text`.