mirror of
https://github.com/instant-labs/instant-segment.git
synced 2025-02-17 13:32:02 +00:00
Remove unused lifetime
This commit is contained in:
parent
2164044eb1
commit
a1f03e32fe
@ -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<Self, Box<dyn Error>>
|
||||
pub fn from_iters<U, B>(unigrams: U, bigrams: B) -> Result<Self, Box<dyn Error>>
|
||||
where
|
||||
U: Iterator<Item = Result<(String, f64), Box<dyn Error>>>,
|
||||
B: Iterator<Item = Result<((String, String), f64), Box<dyn Error>>>,
|
||||
|
Loading…
Reference in New Issue
Block a user