diff --git a/src/float.rs b/src/float.rs index 4274fe7..548a207 100644 --- a/src/float.rs +++ b/src/float.rs @@ -1917,7 +1917,7 @@ pub trait CommonFloat where Self: Num + Copy + NumCast + Neg { /// /// let difference = a.pown(b); /// - /// assert(difference > 3.9f64); + /// assert!(difference > 3.9f64); /// ``` fn pown(self, n: Self) -> Self;