forked from mirrors/gstreamer-rs
Remove various unnecessary clippy allow attributes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1214>
This commit is contained in:
parent
9155d6eb7b
commit
f6f0465655
25 changed files with 1 additions and 130 deletions
|
@ -2,7 +2,6 @@
|
|||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
pub use ffi;
|
||||
|
@ -21,11 +20,6 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(clippy::type_complexity)]
|
||||
#[allow(clippy::use_self)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
pub use ffi;
|
||||
|
@ -22,11 +21,6 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(clippy::use_self)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
pub use ffi;
|
||||
|
@ -22,12 +21,7 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(clippy::use_self)]
|
||||
#[allow(clippy::needless_borrow)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
pub use ffi;
|
||||
|
@ -21,12 +20,6 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(clippy::type_complexity)]
|
||||
#[allow(clippy::use_self)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::{functions::*, *};
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
pub use ffi;
|
||||
|
@ -21,12 +20,6 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(clippy::type_complexity)]
|
||||
#[allow(clippy::use_self)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
pub use ffi;
|
||||
|
@ -21,11 +20,6 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(clippy::use_self)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
mod control_point;
|
||||
pub use crate::auto::*;
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
use std::sync::Once;
|
||||
|
@ -51,10 +50,6 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(clippy::use_self)]
|
||||
#[allow(clippy::needless_borrow)]
|
||||
#[allow(deprecated)]
|
||||
#[allow(unused_imports)]
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#![cfg_attr(all(not(doctest), doc), feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
|
||||
pub use ffi;
|
||||
pub use gst_gl;
|
||||
|
@ -21,7 +20,6 @@ macro_rules! assert_initialized_main_thread {
|
|||
};
|
||||
}
|
||||
|
||||
#[allow(clippy::use_self)]
|
||||
mod auto;
|
||||
pub use auto::*;
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
pub use ffi;
|
||||
|
@ -23,11 +22,6 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(clippy::use_self)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::{functions::*, *};
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#![cfg_attr(all(not(doctest), doc), feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
|
||||
pub use ffi;
|
||||
pub use gst_gl;
|
||||
|
@ -21,7 +20,6 @@ macro_rules! assert_initialized_main_thread {
|
|||
};
|
||||
}
|
||||
|
||||
#[allow(clippy::use_self)]
|
||||
mod auto;
|
||||
pub use auto::*;
|
||||
|
||||
|
|
|
@ -8,7 +8,6 @@
|
|||
|
||||
#![cfg_attr(all(not(doctest), doc), feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
|
||||
pub use ffi;
|
||||
pub use gst_gl;
|
||||
|
@ -21,7 +20,6 @@ macro_rules! assert_initialized_main_thread {
|
|||
};
|
||||
}
|
||||
|
||||
#[allow(clippy::use_self)]
|
||||
mod auto;
|
||||
pub use auto::*;
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
|
||||
use std::sync::Once;
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
pub use ffi;
|
||||
|
@ -21,11 +20,6 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(clippy::use_self)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::{auto::*, net_address_meta::*};
|
||||
mod net_address_meta;
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
use std::sync::Once;
|
||||
|
@ -28,12 +27,6 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(clippy::type_complexity)]
|
||||
#[allow(clippy::use_self)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::{functions::*, *};
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
pub use ffi;
|
||||
|
@ -22,7 +21,6 @@ macro_rules! assert_initialized_main_thread {
|
|||
}
|
||||
|
||||
#[allow(clippy::needless_borrow)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub(crate) use crate::auto::PlayMessage as PlayMessageType;
|
||||
pub use crate::auto::*;
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
pub use ffi;
|
||||
|
@ -21,12 +20,6 @@ macro_rules! assert_initialized_main_thread {
|
|||
};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(clippy::type_complexity)]
|
||||
#[allow(clippy::cast_ptr_alignment)]
|
||||
#[allow(clippy::use_self)]
|
||||
#[allow(clippy::needless_borrow)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::manual_range_contains)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
|
@ -22,12 +20,6 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(non_snake_case)]
|
||||
#[allow(clippy::use_self)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::{functions::*, *};
|
||||
|
||||
|
|
|
@ -128,6 +128,7 @@ impl<'a> RTPBuffer<'a, Writable> {
|
|||
}
|
||||
|
||||
#[doc(alias = "gst_rtp_buffer_add_extension_onebyte_header")]
|
||||
#[allow(clippy::manual_range_contains)]
|
||||
pub fn add_extension_onebyte_header(
|
||||
&mut self,
|
||||
id: u8,
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
pub use ffi;
|
||||
|
@ -25,13 +24,7 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(clippy::type_complexity)]
|
||||
#[allow(clippy::let_and_return)]
|
||||
#[allow(clippy::use_self)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
pub use ffi;
|
||||
|
@ -22,10 +21,6 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(clippy::use_self)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
pub use ffi;
|
||||
|
@ -21,11 +20,6 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(non_snake_case)]
|
||||
#[allow(clippy::use_self)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
#[doc(hidden)]
|
||||
|
@ -35,17 +34,10 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(non_snake_case)]
|
||||
#[allow(clippy::needless_borrow)]
|
||||
#[allow(clippy::use_self)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
#[allow(dead_code)]
|
||||
mod functions;
|
||||
pub use functions::*;
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
pub use ffi;
|
||||
|
@ -22,12 +21,7 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(clippy::use_self)]
|
||||
#[allow(clippy::needless_borrow)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::*;
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#![cfg_attr(feature = "dox", feature(doc_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
pub use ffi;
|
||||
|
@ -14,10 +13,6 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(clippy::use_self)]
|
||||
#[allow(clippy::needless_borrow)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
#![recursion_limit = "256"]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
#![allow(clippy::manual_range_contains)]
|
||||
#![allow(clippy::non_send_fields_in_send_ty)]
|
||||
#![doc = include_str!("../README.md")]
|
||||
|
||||
// Re-exported for the subclass gst_plugin_define! macro
|
||||
|
@ -39,14 +38,8 @@ macro_rules! skip_assert_initialized {
|
|||
() => {};
|
||||
}
|
||||
|
||||
#[allow(clippy::unreadable_literal)]
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
#[allow(clippy::match_same_arms)]
|
||||
#[allow(clippy::type_complexity)]
|
||||
#[allow(clippy::use_self)]
|
||||
#[allow(clippy::needless_borrow)]
|
||||
#[allow(clippy::let_unit_value)]
|
||||
#[allow(unused_imports)]
|
||||
mod auto;
|
||||
pub use crate::auto::{functions::*, *};
|
||||
|
||||
|
|
Loading…
Reference in a new issue