Fix selection remove doc comment (#1122)

This commit is contained in:
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

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,