From 13790264b5de6d909e27edeaecc5bd185026e74a Mon Sep 17 00:00:00 2001 From: YakoYakoYokuYoku <39890836+YakoYakoYokuYoku@users.noreply.github.com> Date: Thu, 21 Feb 2019 11:09:38 -0300 Subject: [PATCH] Fixed typo --- src/float.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;