Files
rust/src
bors e177df3d5c Auto merge of #45379 - cuviper:unit_from_iter, r=alexcrichton
impl FromIterator<()> for ()

This just collapses all unit items from an iterator into one.  This is
more useful when combined with higher-level abstractions, like
collecting to a `Result<(), E>` where you only care about errors:

```rust
use std::io::*;
data = vec![1, 2, 3, 4, 5];
let res: Result<()> = data.iter()
    .map(|x| writeln!(stdout(), "{}", x))
    .collect();
assert!(res.is_ok());
```
2017-11-08 01:32:12 +00:00
..
2017-11-04 20:53:27 -07:00
2017-10-26 22:32:24 -07:00
2017-10-31 11:25:39 -02:00
2017-10-05 05:04:40 +02:00
2017-11-06 13:03:06 -05:00
2017-10-26 13:59:18 -07:00