ptp: Fix new compiler warning with Rust 1.89
This still compiles with Rust 1.48 and newer. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9512>
This commit is contained in:
parent
5a6ceaf2f3
commit
8921c6504b
@ -62,7 +62,7 @@ mod imp {
|
||||
}
|
||||
}
|
||||
|
||||
fn iter(&self) -> IfaddrsIter {
|
||||
fn iter(&self) -> IfaddrsIter<'_> {
|
||||
IfaddrsIter {
|
||||
ptr: ptr::NonNull::new(self.0),
|
||||
phantom: marker::PhantomData,
|
||||
|
Loading…
x
Reference in New Issue
Block a user