Skip to content

Commit

Permalink
Fix clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Dec 8, 2024
1 parent 7342e48 commit b37e474
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/marker/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1344,7 +1344,7 @@ pub struct MarkerTreeDebugGraph<'a> {
marker: &'a MarkerTree,
}

impl<'a> fmt::Debug for MarkerTreeDebugGraph<'a> {
impl fmt::Debug for MarkerTreeDebugGraph<'_> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
self.marker.fmt_graph(f, 0)
}
Expand All @@ -1361,7 +1361,7 @@ pub struct MarkerTreeDebugRaw<'a> {
marker: &'a MarkerTree,
}

impl<'a> fmt::Debug for MarkerTreeDebugRaw<'a> {
impl fmt::Debug for MarkerTreeDebugRaw<'_> {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
let node = INTERNER.shared.node(self.marker.0);
f.debug_tuple("MarkerTreeDebugRaw").field(node).finish()
Expand Down

0 comments on commit b37e474

Please sign in to comment.