From a8db05b33fb816936fdad7857f592fe904ee9377 Mon Sep 17 00:00:00 2001 From: YakoYakoYokuYoku <39890836+YakoYakoYokuYoku@users.noreply.github.com> Date: Thu, 21 Feb 2019 10:52:28 -0300 Subject: [PATCH] Fixed float.rs for the second time --- src/float.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/float.rs b/src/float.rs index 4004593..c334ac5 100644 --- a/src/float.rs +++ b/src/float.rs @@ -1915,7 +1915,7 @@ pub trait CommonFloat where Self: Num + Copy + NumCast + Neg { /// let a = 4.0; /// let b = 0.5; /// - /// let difference = self.pown(a) - 2.0; + /// let difference = a.pown(b) - 2.0; /// /// assert(difference < 1e-10); /// ```