summaryrefslogtreecommitdiffstats
path: root/vendor/crypto-bigint/src/uint/resize.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/crypto-bigint/src/uint/resize.rs')
-rw-r--r--vendor/crypto-bigint/src/uint/resize.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/vendor/crypto-bigint/src/uint/resize.rs b/vendor/crypto-bigint/src/uint/resize.rs
index 5a5ec7eef..2c80b895b 100644
--- a/vendor/crypto-bigint/src/uint/resize.rs
+++ b/vendor/crypto-bigint/src/uint/resize.rs
@@ -1,12 +1,12 @@
-use super::UInt;
+use super::Uint;
-impl<const LIMBS: usize> UInt<LIMBS> {
- /// Construct a `UInt<T>` from the unsigned integer value,
+impl<const LIMBS: usize> Uint<LIMBS> {
+ /// Construct a `Uint<T>` from the unsigned integer value,
/// truncating the upper bits if the value is too large to be
/// represented.
#[inline(always)]
- pub const fn resize<const T: usize>(&self) -> UInt<T> {
- let mut res = UInt::ZERO;
+ pub const fn resize<const T: usize>(&self) -> Uint<T> {
+ let mut res = Uint::ZERO;
let mut i = 0;
let dim = if T < LIMBS { T } else { LIMBS };
while i < dim {