From 962c3416cafb985ea424ca85addc9920a3333391 Mon Sep 17 00:00:00 2001 From: wcampbell Date: Sun, 2 May 2021 20:24:17 -0400 Subject: [PATCH] [clippy] remove redundant field names Signed-off-by: wcampbell --- library/core/src/num/bignum.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/core/src/num/bignum.rs b/library/core/src/num/bignum.rs index 197b85fba1fd7..8a06a0988829b 100644 --- a/library/core/src/num/bignum.rs +++ b/library/core/src/num/bignum.rs @@ -119,7 +119,7 @@ macro_rules! define_bignum { pub fn from_small(v: $ty) -> $name { let mut base = [0; $n]; base[0] = v; - $name { size: 1, base: base } + $name { size: 1, base } } /// Makes a bignum from `u64` value. @@ -131,7 +131,7 @@ macro_rules! define_bignum { v >>= <$ty>::BITS; sz += 1; } - $name { size: sz, base: base } + $name { size: sz, base } } /// Returns the internal digits as a slice `[a, b, c, ...]` such that the numeric