diff options
author | ath3 | 2021-11-18 00:49:56 +0000 |
---|---|---|
committer | GitHub | 2021-11-18 00:49:56 +0000 |
commit | 90fd09f2cc4e5dfa7380036b0748adf95ffdf371 (patch) | |
tree | 34abd45434970ada6cf05a0b39a02724f323376c /helix-core | |
parent | 1132b7088a853f1edac451a34ad1cbbba03e1f26 (diff) |
Fix selection remove doc comment (#1122)
Diffstat (limited to 'helix-core')
-rw-r--r-- | helix-core/src/selection.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/selection.rs b/helix-core/src/selection.rs index f7c7dbcb..b4d1dffa 100644 --- a/helix-core/src/selection.rs +++ b/helix-core/src/selection.rs @@ -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, |