Skip to content

Commit 9d36a2d

Browse files
author
Jorge Aparicio
committed
graphviz: fix fallout
1 parent 1971a24 commit 9d36a2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libgraphviz/maybe_owned_vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ impl<'b,T> AsSlice<T> for MaybeOwnedVector<'b,T> {
124124

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

0 commit comments

Comments
 (0)