Skip to content

Commit

Permalink
fix compiler warning for elided lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrgani authored and not-fl3 committed Sep 23, 2024
1 parent 1094e74 commit 2e48cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/telemetry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ pub struct LogTimeGuard<'a> {
}

impl<'a> LogTimeGuard<'a> {
pub fn new(name: &'a str) -> LogTimeGuard {
pub fn new(name: &'a str) -> LogTimeGuard<'a> {
LogTimeGuard {
name,
start_time: get_time(),
Expand Down

0 comments on commit 2e48cf9

Please sign in to comment.