Skip to content

Commit 737bd3e

Browse files
authored
Fix mismatched_lifetime_syntaxes warning. (#10)
1 parent 9746130 commit 737bd3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/logging.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ impl Dispatch {
559559
}
560560

561561
/// Returns a mutex lock for the target
562-
fn target(&self) -> MutexGuard<LogBackend> {
562+
fn target(&self) -> MutexGuard<'_, LogBackend> {
563563
self.target.lock().expect("poisoned mutex")
564564
}
565565

0 commit comments

Comments
 (0)