Skip to content

Commit 7fe1736

Browse files
committed
chore: remove elideable lifetimes
1 parent 56dbd04 commit 7fe1736

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/logging/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ use std::fmt::Debug;
22

33
use spdlog::{error, warn};
44

5-
pub fn log_error<'a, E>(e: &'a E)
5+
pub fn log_error<E>(e: &E)
66
where
77
E: Debug,
88
{
99
error!("{e:?}");
1010
}
1111

12-
pub fn log_warn<'a, E>(e: &'a E)
12+
pub fn log_warn<E>(e: &E)
1313
where
1414
E: Debug,
1515
{

0 commit comments

Comments
 (0)