mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-26 03:21:03 +00:00
Ignore a new 1.80 clippy warning
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1506>
This commit is contained in:
parent
f61dd53657
commit
a5e10f416b
1 changed files with 1 additions and 0 deletions
|
@ -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()) }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue