Skip to content

Commit

Permalink
fix(chain-ops): Correct trait bounds on Defer impl.
Browse files Browse the repository at this point in the history
  • Loading branch information
KirilMihaylov committed Sep 26, 2024
1 parent bbe21bd commit 751bde0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain-ops/src/defer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ where

impl<T, F> Defer<T, F>
where
T: Copy + ?Sized,
T: Copy,
F: FnMut(&mut T) + Copy,
{
pub const fn copied(&self) -> Self {
Expand Down

0 comments on commit 751bde0

Please sign in to comment.