graphviz: fix fallout

This commit is contained in:
Jorge Aparicio 2015-01-01 22:36:08 -05:00
parent 1971a24441
commit 9d36a2d593

View File

@ -124,7 +124,7 @@ impl<'b,T> AsSlice<T> for MaybeOwnedVector<'b,T> {
impl<'a,T> FromIterator<T> for MaybeOwnedVector<'a,T> {
#[allow(deprecated)]
fn from_iter<I:Iterator<T>>(iterator: I) -> MaybeOwnedVector<'a,T> {
fn from_iter<I:Iterator<Item=T>>(iterator: I) -> MaybeOwnedVector<'a,T> {
// If we are building from scratch, might as well build the
// most flexible variant.
Growable(iterator.collect())