Ignore a new 1.80 clippy warning

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1506>
This commit is contained in:
Sebastian Dröge 2024-08-05 10:11:31 +03:00 committed by Backport Bot
parent f61dd53657
commit a5e10f416b

View file

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