From 9eb3ab3a59661bb79d8e7c65407089d07587cd80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Wed, 10 Apr 2024 16:29:15 +0300 Subject: [PATCH] ptp: Silence warning about some unused trait methods These are not used yet but will likely be useful in the future. Rust 1.79 (nightly) is warning about them being unused. Part-of: --- subprojects/gstreamer/libs/gst/helpers/ptp/parse.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/subprojects/gstreamer/libs/gst/helpers/ptp/parse.rs b/subprojects/gstreamer/libs/gst/helpers/ptp/parse.rs index 20925d20ab..c59ae6969d 100644 --- a/subprojects/gstreamer/libs/gst/helpers/ptp/parse.rs +++ b/subprojects/gstreamer/libs/gst/helpers/ptp/parse.rs @@ -8,6 +8,8 @@ // // SPDX-License-Identifier: MPL-2.0 +#![allow(unused)] + use std::io; pub trait ReadBytesBEExt: io::Read {