Skip to content

Commit

Permalink
style(inoculate): rm needless lifetimes (#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw committed Jan 4, 2025
1 parent a9b751a commit f8a79fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inoculate/src/trace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,12 @@ impl CargoFormatter {

// === impl Visitor ===

impl<'styles, 'writer> Visitor<'styles, 'writer> {
impl Visitor<'_, '_> {
const MESSAGE: &'static str = "message";
const INDENT: usize = 12;
}

impl<'styles, 'writer> Visit for Visitor<'styles, 'writer> {
impl Visit for Visitor<'_, '_> {
fn record_debug(&mut self, field: &Field, value: &dyn fmt::Debug) {
// If we're writing the first field of the event, either emit cargo
// formatting, or a level header.
Expand Down

0 comments on commit f8a79fb

Please sign in to comment.