diff --git a/traits/src/int.rs b/traits/src/int.rs index 0cf9e13..4f9221f 100644 --- a/traits/src/int.rs +++ b/traits/src/int.rs @@ -274,7 +274,7 @@ pub trait PrimInt /// /// assert_eq!(2i32.pow(4), 16); /// ``` - fn pow(self, mut exp: u32) -> Self; + fn pow(self, exp: u32) -> Self; } macro_rules! prim_int_impl {