Skip to content

Commit

Permalink
Fix VerificationError display
Browse files Browse the repository at this point in the history
  • Loading branch information
SSheldon committed Jan 19, 2020
1 parent b8dc92e commit 3c43a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/message/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ impl<'a> fmt::Display for VerificationError<'a> {
}
VerificationError::MismatchedArgument(method, i, arg) => {
let expected = method.argument_type(i).unwrap();
write!(f, "Method {:?} expected argument at index {} with type code {:?} but was given {:?}",
write!(f, "Method {:?} expected argument at index {} with type code {} but was given {}",
method.name(), i, expected, arg)
}
}
Expand Down

0 comments on commit 3c43a39

Please # to comment.