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:
Sebastian Dröge 2025-08-08 10:13:55 +03:00
parent 5a6ceaf2f3
commit 8921c6504b

View File

@ -62,7 +62,7 @@ mod imp {
}
}
fn iter(&self) -> IfaddrsIter {
fn iter(&self) -> IfaddrsIter<'_> {
IfaddrsIter {
ptr: ptr::NonNull::new(self.0),
phantom: marker::PhantomData,