Skip to content

Commit 1f324ca

Browse files
Speedy37cuviper
authored andcommitted
fix iter_ux_digits comment
1 parent 8168d80 commit 1f324ca

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/bigint.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3000,8 +3000,8 @@ impl BigInt {
30003000
(self.sign, self.data.to_u64_digits())
30013001
}
30023002

3003-
/// Returns the `u32` digits representation of the `BigUint` ordered least significant digit
3004-
/// first.
3003+
/// Returns an iterator of `u64` digits representation of the `BigUint` ordered least
3004+
/// significant digit first.
30053005
///
30063006
/// # Examples
30073007
///
@@ -3019,8 +3019,8 @@ impl BigInt {
30193019
self.data.iter_u32_digits()
30203020
}
30213021

3022-
/// Returns the `u64` digits representation of the `BigUint` ordered least significant digit
3023-
/// first.
3022+
/// Returns an iterator of `u64` digits representation of the `BigUint` ordered least
3023+
/// significant digit first.
30243024
///
30253025
/// # Examples
30263026
///

src/biguint.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2765,8 +2765,8 @@ impl BigUint {
27652765
self.iter_u64_digits().collect()
27662766
}
27672767

2768-
/// Returns the `u32` digits representation of the `BigUint` ordered least significant digit
2769-
/// first.
2768+
/// Returns an iterator of `u32` digits representation of the `BigUint` ordered least
2769+
/// significant digit first.
27702770
///
27712771
/// # Examples
27722772
///
@@ -2783,8 +2783,8 @@ impl BigUint {
27832783
IterU32Digits::new(self.data.as_slice())
27842784
}
27852785

2786-
/// Returns the `u32` digits representation of the `BigUint` ordered least significant digit
2787-
/// first.
2786+
/// Returns an iterator of `u64` digits representation of the `BigUint` ordered least
2787+
/// significant digit first.
27882788
///
27892789
/// # Examples
27902790
///

0 commit comments

Comments
 (0)