Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Sep 8, 2024
1 parent 82501a9 commit 5618656
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ impl Layer {
pre_existing: true,
}
} else {
let layer = ObserverLayer::new(&root_layer);
let layer = ObserverLayer::new(root_layer);
Layer {
layer: Retained::into_super(layer),
pre_existing: false,
Expand Down

0 comments on commit 5618656

Please sign in to comment.