mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 11:01:10 +00:00
Ignore a new 1.80 clippy warning
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1491>
This commit is contained in:
parent
30d247fd5c
commit
a145ce6ab1
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 {
|
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()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue