diff options
| author | Mikhail Zabaluev <mikhail.zabaluev@gmail.com> | 2015-02-22 19:22:50 +0200 |
|---|---|---|
| committer | Mikhail Zabaluev <mikhail.zabaluev@gmail.com> | 2015-02-22 20:42:35 +0200 |
| commit | f9b70acfd4167f5911c1be4e2dc960c370adb266 (patch) | |
| tree | 4895571d488b6a7b36efe4aa05a1b3bda339699c /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 032804bf68e2ac13add895206f2173409acff836 (diff) | |
| download | rust-f9b70acfd4167f5911c1be4e2dc960c370adb266.tar.gz rust-f9b70acfd4167f5911c1be4e2dc960c370adb266.zip | |
Desugar the implementation of extend to work with Iterator
Implement both Vec::from_iter and extend in terms of an internal method working with Iterator. Otherwise, the code below ends up using two monomorphizations of extend, differing only in the implementation of IntoIterator: let mut v = Vector::from_iter(iterable1); v.extend(iterable2);
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
