diff --git a/src/libgraphviz/maybe_owned_vec.rs b/src/libgraphviz/maybe_owned_vec.rs index d0396ddc7ad..901dffc04c5 100644 --- a/src/libgraphviz/maybe_owned_vec.rs +++ b/src/libgraphviz/maybe_owned_vec.rs @@ -124,7 +124,7 @@ impl<'b,T> AsSlice for MaybeOwnedVector<'b,T> { impl<'a,T> FromIterator for MaybeOwnedVector<'a,T> { #[allow(deprecated)] - fn from_iter>(iterator: I) -> MaybeOwnedVector<'a,T> { + fn from_iter>(iterator: I) -> MaybeOwnedVector<'a,T> { // If we are building from scratch, might as well build the // most flexible variant. Growable(iterator.collect())