fix error pow.rs

This commit is contained in:
Alex Pikme 2025-04-25 10:56:28 +02:00 committed by GitHub
parent aadea3eeb2
commit 6ddbcb0283
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -565,7 +565,7 @@ impl U256 {
fn low_u128(&self) -> u128 { self.1 }
/// Returns this `U256` as a `u128` saturating to `u128::MAX` if `self` is too big.
// Matagen gives false positive because >= and > both return u128::MAX
// Mutagen gives false positive because >= and > both return u128::MAX
fn saturating_to_u128(&self) -> u128 {
if *self > U256::from(u128::MAX) {
u128::MAX