Fix un-annotated test in types crate

This commit is contained in:
Paul Hauner 2019-02-11 16:31:33 +11:00
parent a13dd0d871
commit d7f8c60f93
No known key found for this signature in database
GPG Key ID: D362883A9218FCC6

View File

@ -535,6 +535,7 @@ mod tests {
assert_saturating_sub(1, 2, 0);
}
#[test]
fn saturating_add() {
let assert_saturating_add = |a: u64, b: u64, result: u64| {
assert_eq!($type(a).saturating_add($type(b)), $type(result));