[<<][rust][>>][..]
Tue Mar 5 09:10:55 EST 2019

Itertools

So I run into the error:

error[E0599]: no method named `interleave` found for type `tools::GapRangeIterator<'_, T>` in the current scope

According to doc this is implemented here:
https://docs.rs/itertools/0.6.0/itertools/trait.Itertools.html#method.interleave
Trait itertools::Itertools

So how do I add this trait?

This seems to be a basic pattern: a trait is provided in a library.
How to "inherit" from it?




[Reply][About]
[<<][rust][>>][..]