Skip to content

Commit d50aa1d

Browse files
authored
improve error message (#668)
1 parent 7d5af47 commit d50aa1d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mockall_derive/src/mock_function.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ impl ToTokens for Common<'_> {
974974
-> &mut Self
975975
{
976976
assert!(self.times.is_exact(),
977-
"Only Expectations with an exact call count have sequences");
977+
"Only Expectations with an exact call count can have sequences");
978978
self.seq_handle = Some(__mockall_seq.next_handle());
979979
self
980980
}

0 commit comments

Comments
 (0)