Ignore a new 1.80 clippy warning

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1491>
This commit is contained in:
Sebastian Dröge 2024-08-05 10:11:31 +03:00 committed by Jordan Petridis
parent 30d247fd5c
commit a145ce6ab1

View file

@ -522,6 +522,7 @@ macro_rules! mini_object_wrapper (
impl $crate::glib::types::StaticType for $ref_name {
#[inline]
fn static_type() -> $crate::glib::types::Type {
#[allow(clippy::macro_metavars_in_unsafe)]
unsafe { $crate::glib::translate::from_glib($get_type()) }
}
}