about summary refs log tree commit diff
path: root/src/libcollections/vec_map.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2015-02-12 10:30:39 -0500
committerNiko Matsakis <niko@alum.mit.edu>2015-02-18 10:25:12 -0500
commitc5579ca340b346f1b685887f7784c2e7f2090dcb (patch)
tree75ad2381a7e6664d17c4638f346d722105c02f46 /src/libcollections/vec_map.rs
parentf2529ac10d7ba68a03ce94873076afa9eb52e365 (diff)
downloadrust-c5579ca340b346f1b685887f7784c2e7f2090dcb.tar.gz
rust-c5579ca340b346f1b685887f7784c2e7f2090dcb.zip
Fallout: Port Vec to use `Unique`
Diffstat (limited to 'src/libcollections/vec_map.rs')
-rw-r--r--src/libcollections/vec_map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/vec_map.rs b/src/libcollections/vec_map.rs
index 82ccfd0614f..cc2324c697c 100644
--- a/src/libcollections/vec_map.rs
+++ b/src/libcollections/vec_map.rs
@@ -859,7 +859,7 @@ pub struct IntoIter<V> {
 }
 
 #[unstable(feature = "collections")]
-pub struct Drain<'a, V> {
+pub struct Drain<'a, V:'a> {
     iter: FilterMap<
     Enumerate<vec::Drain<'a, Option<V>>>,
     fn((usize, Option<V>)) -> Option<(usize, V)>>