Fix selection remove doc comment (#1122)
This commit is contained in:
parent
1132b7088a
commit
90fd09f2cc
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue