aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/surround.rs
diff options
context:
space:
mode:
authorOmnikar2022-01-23 07:37:23 +0000
committerGitHub2022-01-23 07:37:23 +0000
commitf064894e5778071ef8cc563380f48cfdd9acba59 (patch)
tree18eb4c743e04f6b83268664ea869f3bbc676a2e2 /helix-core/src/surround.rs
parente2d2f19fd02419b8d144ae7a8a359d31bd773af7 (diff)
Fix Clippy lints in tests (#1563)
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Diffstat (limited to 'helix-core/src/surround.rs')
-rw-r--r--helix-core/src/surround.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-core/src/surround.rs b/helix-core/src/surround.rs
index b53b0a78..58eb23cf 100644
--- a/helix-core/src/surround.rs
+++ b/helix-core/src/surround.rs
@@ -172,6 +172,7 @@ mod test {
use ropey::Rope;
use smallvec::SmallVec;
+ #[allow(clippy::type_complexity)]
fn check_find_nth_pair_pos(
text: &str,
cases: Vec<(usize, char, usize, Option<(usize, usize)>)>,