Fix selection remove doc comment (#1122)

pull/1127/head
ath3 3 years ago committed by GitHub
parent 1132b7088a
commit 90fd09f2cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -360,7 +360,7 @@ impl Selection {
self.normalize() self.normalize()
} }
/// Adds a new range to the selection and makes it the primary range. /// Removes a range from the selection.
pub fn remove(mut self, index: usize) -> Self { pub fn remove(mut self, index: usize) -> Self {
assert!( assert!(
self.ranges.len() > 1, self.ranges.len() > 1,

Loading…
Cancel
Save