Reducing duplication in `TryFrom`
Hey folks, I've got the following duplication: impl TryFrom<Reader<&[u8]>> for DictionaryStemmer { type Error = Error; fn try_from(mut reader: Reader<&[u8]>) -> Result<Self, Self::Error> { let mut term_stems:…
Daily edition · Rust
TILens turns technical updates into a focused daily brief: official releases, trusted reporting, and practitioner analysis, deduplicated and organized by topic.
1 article · 1 source ·
Top topics: Rust
Hey folks, I've got the following duplication: impl TryFrom<Reader<&[u8]>> for DictionaryStemmer { type Error = Error; fn try_from(mut reader: Reader<&[u8]>) -> Result<Self, Self::Error> { let mut term_stems:…