4 ms·
This is explicitly supported in Rust (with generics). The most well known example is the `.collect()` method, which can collect an iterator into many different
by aliceryhl 6y ago
This is explicitly supported in Rust (with generics). The most well known example is the `.collect()` method, which can collect an iterator into many different types of collections.