We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec5a021 commit 6fd6ec9Copy full SHA for 6fd6ec9
src/scope/real.rs
@@ -223,6 +223,7 @@ impl Scope {
223
}
224
225
/// Applies the contained scoped data to fill an event.
226
+ #[cfg_attr(feature = "cargo-clippy", allow(cyclomatic_complexity))]
227
pub fn apply_to_event(&self, mut event: Event<'static>) -> Option<Event<'static>> {
228
let mut add_os = true;
229
let mut add_rust = true;
src/test.rs
@@ -56,6 +56,7 @@ pub struct TestTransport {
56
57
impl TestTransport {
58
/// Creates a new test transport.
59
+ #[cfg_attr(feature = "cargo-clippy", allow(new_ret_no_self))]
60
pub fn new() -> Arc<TestTransport> {
61
Arc::new(TestTransport {
62
collected: Mutex::new(vec![]),
0 commit comments