Skip to content

Commit

Permalink
Fix selection remove doc comment (helix-editor#1122)
Browse files Browse the repository at this point in the history
  • Loading branch information
ath3 authored Nov 18, 2021
1 parent 1132b70 commit 90fd09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helix-core/src/selection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 90fd09f

Please sign in to comment.