Skip to content

Commit 114a827

Browse files
committed
Merge #118: fix(types): fix NumericError message causing test failures
3c55303 fix(types): fix NumericError message causing test failures (nervana21) Pull request description: Removes extra space in NumericError::Overflow's error message that was causing test failures. ACKs for top commit: tcharding: ACK 3c55303 Tree-SHA512: e9149b7c4776942807e5e14a07a07d2a28c57ecefcb369db961562f5707ab6460fd4a3d6c2eb74638626415aa2b157973677a0ce3f44ba40395d59070aef000b
2 parents 870efdf + 3c55303 commit 114a827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ impl fmt::Display for NumericError {
7373

7474
match *self {
7575
Negative{ ref field, value } => write!(f, "expected an unsigned numeric value however the value was negative (field name: {} value: {})", field, value),
76-
Overflow { ref field, value } => write!(f, "a value larger than `u32::MAX` was unexpectedly encountered (field name: {} Value: {})", field, value),
76+
Overflow { ref field, value } => write!(f, "a value larger than `u32::MAX` was unexpectedly encountered (field name: {} Value: {})", field, value),
7777
}
7878
}
7979
}

0 commit comments

Comments
 (0)