From 751bde0b00102d988c42e9d4ae5fcfb5e89fa457 Mon Sep 17 00:00:00 2001 From: Kiril Mihaylov <80464733+KirilMihaylov@users.noreply.github.com> Date: Thu, 26 Sep 2024 12:03:20 +0300 Subject: [PATCH] fix(chain-ops): Correct trait bounds on `Defer` impl. --- chain-ops/src/defer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain-ops/src/defer.rs b/chain-ops/src/defer.rs index 79cc081..bbe70a0 100644 --- a/chain-ops/src/defer.rs +++ b/chain-ops/src/defer.rs @@ -25,7 +25,7 @@ where impl Defer where - T: Copy + ?Sized, + T: Copy, F: FnMut(&mut T) + Copy, { pub const fn copied(&self) -> Self {