From 5618656e53050b8970801445780739ddf357171f Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Sun, 8 Sep 2024 03:14:54 +0200 Subject: [PATCH] Fix clippy warning --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 97c2128..4ef210f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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,