Skip to content

Commit 9ad8adb

Browse files
committed
Relax bound on Constraint::validate
1 parent 7836691 commit 9ad8adb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/constraint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ impl<C> Constraint<C> {
3434
/// recorded calls one by one.
3535
pub fn validate<T>(&self, value: &T) -> bool
3636
where
37-
T: Track<Call = C>,
37+
T: Track<Call = C> + ?Sized,
3838
{
3939
self.0
4040
.lock()

0 commit comments

Comments
 (0)