Fix selection remove doc comment (#1122)

pull/1127/head
ath3 2021-11-18 01:49:56 +01:00 committed by GitHub
parent 1132b7088a
commit 90fd09f2cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ impl Selection {
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 {
assert!(
self.ranges.len() > 1,