Skip to content

Commit

Permalink
Clippy appeasement: elide lifetime annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
amanjeev committed Jan 9, 2025
1 parent b391db0 commit 46bba35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/criticalup-cli/src/arg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub(crate) struct Instrumentation {
pub(crate) log_level: Vec<Directive>,
}

impl<'a> Instrumentation {
impl Instrumentation {
pub(crate) fn log_level(&self) -> String {
match self.verbose {
0 => "info",
Expand All @@ -34,7 +34,7 @@ impl<'a> Instrumentation {
.to_string()
}

pub(crate) async fn setup<'b: 'a>(&'b self, binary_name: &str) -> Result<(), crate::Error> {
pub(crate) async fn setup(&self, binary_name: &str) -> Result<(), crate::Error> {
let filter_layer = self.filter_layer(binary_name)?;

if self.verbose != 0 {
Expand Down

0 comments on commit 46bba35

Please sign in to comment.