on master help sign in
Fix selection remove doc comment (#1122)
commit90fd09f2cc4e5dfa7380036b0748adf95ffdf371 authorath3 <45574139+ath3@users.noreply.github.com> dateThu 18 Nov 2021, 01:49 (5 years ago) parent1132b70
1 file changed+1−1
helix-core/src/selection.rs+1−1
helix-core/src/selection.rs+1−1
@@ -360,7 +360,7 @@ impl Selection {
360360 self.normalize()
361361 }
362362
363− /// Adds a new range to the selection and makes it the primary range.
363+ /// Removes a range from the selection.
364364 pub fn remove(mut self, index: usize) -> Self {
365365 assert!(
366366 self.ranges.len() > 1,