about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMikhail Zabaluev <mikhail.zabaluev@gmail.com>2015-02-22 19:22:50 +0200
committerMikhail Zabaluev <mikhail.zabaluev@gmail.com>2015-02-22 20:42:35 +0200
commitf9b70acfd4167f5911c1be4e2dc960c370adb266 (patch)
tree4895571d488b6a7b36efe4aa05a1b3bda339699c /src/libstd/sys/unix/stack_overflow.rs
parent032804bf68e2ac13add895206f2173409acff836 (diff)
downloadrust-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