mirror of https://github.com/helix-editor/helix
Fix selection remove doc comment (#1122)
parent
1132b7088a
commit
90fd09f2cc
|
@ -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…
Reference in New Issue