Skip to content

Commit d26335f

Browse files
committed
fix: oh hello clippy update
1 parent 8fa13a4 commit d26335f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/client.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ impl Client {
390390
}
391391
}
392392

393-
#[allow(clippy::cyclomatic_complexity)]
393+
#[allow(clippy::cognitive_complexity)]
394394
fn prepare_event(
395395
&self,
396396
mut event: Event<'static>,

src/scope/real.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ impl Scope {
221221
}
222222

223223
/// Applies the contained scoped data to fill an event.
224-
#[allow(clippy::cyclomatic_complexity)]
224+
#[allow(clippy::cognitive_complexity)]
225225
pub fn apply_to_event(&self, mut event: Event<'static>) -> Option<Event<'static>> {
226226
let mut add_os = true;
227227
let mut add_rust = true;

0 commit comments

Comments
 (0)