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>>,