Fix build warnings after update to Rust 1.77

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1413>
This commit is contained in:
Philippe Normand 2024-03-21 13:41:36 +00:00
parent 676e41064b
commit e2e38d9494
2 changed files with 4 additions and 2 deletions

View file

@ -22,5 +22,6 @@ pub fn init() {
assert_initialized_main_thread!();
}
// Workaround for https://github.com/gtk-rs/gir/issues/1555.
#[allow(unused_imports)]
mod auto;
pub use crate::auto::*;

View file

@ -1,4 +1,5 @@
use glib::{prelude::*, translate::*};
use glib::prelude::*;
use glib::translate::FromGlibPtrBorrow;
use crate::RTPBaseDepayload;