Remove unneeded lifetime (#573)

This commit is contained in:
Hofer-Julian 2023-07-17 17:40:10 +02:00 committed by GitHub
parent c3fa6e9623
commit 90dc4b93ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -42,7 +42,7 @@ pub struct Instrumentation {
pub log_directives: Vec<Directive>,
}
impl<'a> Instrumentation {
impl Instrumentation {
pub fn log_level(&self) -> String {
match self.verbose {
0 => "info",
@ -52,7 +52,7 @@ impl<'a> Instrumentation {
.to_string()
}
pub fn setup<'b: 'a>(&'b self) -> eyre::Result<()> {
pub fn setup(&self) -> eyre::Result<()> {
let filter_layer = self.filter_layer()?;
let registry = tracing_subscriber::registry()