Skip to content

Commit d0b93c8

Browse files
committed
core: fix elided lifetime clippy lint in test
1 parent 8df4a17 commit d0b93c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tracing-core/src/callsite.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -501,9 +501,9 @@ mod tests {
501501

502502
let linked_list = LinkedList::new();
503503

504-
fn expect<'a>(
505-
callsites: &'a mut impl Iterator<Item = &'static Registration>,
506-
) -> impl FnMut(&'static Registration) + 'a {
504+
fn expect(
505+
callsites: &mut impl Iterator<Item = &'static Registration>,
506+
) -> impl FnMut(&'static Registration) + '_ {
507507
move |reg: &'static Registration| {
508508
let ptr = callsites
509509
.next()

0 commit comments

Comments
 (0)