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 8df4a17 commit d0b93c8Copy full SHA for d0b93c8
tracing-core/src/callsite.rs
@@ -501,9 +501,9 @@ mod tests {
501
502
let linked_list = LinkedList::new();
503
504
- fn expect<'a>(
505
- callsites: &'a mut impl Iterator<Item = &'static Registration>,
506
- ) -> impl FnMut(&'static Registration) + 'a {
+ fn expect(
+ callsites: &mut impl Iterator<Item = &'static Registration>,
+ ) -> impl FnMut(&'static Registration) + '_ {
507
move |reg: &'static Registration| {
508
let ptr = callsites
509
.next()
0 commit comments