Skip to content

Commit 3c43a39

Browse files
committed
Fix VerificationError display
1 parent b8dc92e commit 3c43a39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/message/verify.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ impl<'a> fmt::Display for VerificationError<'a> {
3232
}
3333
VerificationError::MismatchedArgument(method, i, arg) => {
3434
let expected = method.argument_type(i).unwrap();
35-
write!(f, "Method {:?} expected argument at index {} with type code {:?} but was given {:?}",
35+
write!(f, "Method {:?} expected argument at index {} with type code {} but was given {}",
3636
method.name(), i, expected, arg)
3737
}
3838
}

0 commit comments

Comments
 (0)