Skip to content

Commit fea86fa

Browse files
authored
Relax bound on Constraint::validate (#21)
1 parent c296d89 commit fea86fa

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)