diff --git a/dynatos/src/lib.rs b/dynatos/src/lib.rs index 90f6771..df1db50 100644 --- a/dynatos/src/lib.rs +++ b/dynatos/src/lib.rs @@ -146,7 +146,7 @@ where fn with_dyn_child(self, f: F) -> Self where F: Fn() -> Option + 'static, - N: AsRef + 'static, + N: AsRef, { self.dyn_child(f); self