From edfad13ddc219df08e56f54e5bec005c85933e56 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 31 Aug 2021 14:09:23 +0200 Subject: [PATCH] Fix clippy lint --- instant-segment/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instant-segment/src/lib.rs b/instant-segment/src/lib.rs index 8ac45ad..0f524a8 100644 --- a/instant-segment/src/lib.rs +++ b/instant-segment/src/lib.rs @@ -62,7 +62,7 @@ impl Segmenter { input: &str, search: &'a mut Search, ) -> Result + ExactSizeIterator, InvalidCharacter> { - SegmentState::new(Ascii::new(input)?, &self, search).run(); + SegmentState::new(Ascii::new(input)?, self, search).run(); Ok(search.result.iter().map(|v| v.as_str())) }