@@ -21,14 +21,14 @@ use std::borrow::Cow;
21/// can be in any order, or even share the same position.
21/// can be in any order, or even share the same position.
23/// The anchor and head positions use gap indexing, meaning
23/// 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
25/// rather than the `char`s themselves. For example, 1
25/// rather than the `char`s themselves. For example, 1
26/// represents the position between the first and second `char`.
26/// represents the position between the first and second `char`.
28−/// Below are some example `Range` configurations to better
28+/// Below are some examples of `Range` configurations.
29−/// illustrate. The anchor and head indices are show as
29+/// The anchor and head indices are shown as "(anchor, head)"
30−/// "(anchor, head)", followed by example text with "[" and "]"
30+/// tuples, followed by example text with "[" and "]" symbols
31−/// inserted to represent the anchor and head positions:
31+/// representing the anchor and head positions:
33/// - (0, 3): `[Som]e text`.
33/// - (0, 3): `[Som]e text`.
34/// - (3, 0): `]Som[e text`.
34/// - (3, 0): `]Som[e text`.