From a1f03e32fe7f3db3873641a39b827f98e8183ac4 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 25 Nov 2020 17:33:50 +0100 Subject: [PATCH] Remove unused lifetime --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 243d608..e538a2f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -22,7 +22,7 @@ impl Segmenter { /// /// Note: the `String` types used in this API are defined in the `smartstring` crate. Any /// `&str` or `String` can be converted into the `String` used here by calling `into()` on it. - pub fn from_iters<'a, U, B>(unigrams: U, bigrams: B) -> Result> + pub fn from_iters(unigrams: U, bigrams: B) -> Result> where U: Iterator>>, B: Iterator>>,