From 12f9448a932eee6f77ce942b3f78e7f5db9d30f7 Mon Sep 17 00:00:00 2001 From: kingoflolz Date: Mon, 4 Jun 2018 20:49:30 +0800 Subject: [PATCH] add *Assign operators, make most operators work on Into and make most operators work on references on uint (#31) --- src/serialization.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serialization.rs b/src/serialization.rs index 8054e32..531a20a 100644 --- a/src/serialization.rs +++ b/src/serialization.rs @@ -16,7 +16,7 @@ macro_rules! test { ($name::from(1_000), "0x3e8"), ($name::from(100_000), "0x186a0"), ($name::from(u64::max_value()), "0xffffffffffffffff"), - ($name::from(u64::max_value()) + 1.into(), "0x10000000000000000"), + ($name::from(u64::max_value()) + 1, "0x10000000000000000"), ]; for (number, expected) in tests {