mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 03:21:03 +00:00
gstreamer/buffer: Don't implement ExactSizeIterator on meta iterator
We don't actually know the number of items and using the trait would panic.
This commit is contained in:
parent
80cd448340
commit
f5752546fd
1 changed files with 0 additions and 2 deletions
|
@ -751,8 +751,6 @@ macro_rules! define_meta_iter(
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a, T: MetaAPI> ExactSizeIterator for $name<'a, T> {}
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue