Fixed float.rs for the second time

This commit is contained in:
YakoYakoYokuYoku 2019-02-21 10:52:28 -03:00 committed by GitHub
parent 66bd294256
commit a8db05b33f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1915,7 +1915,7 @@ pub trait CommonFloat where Self: Num + Copy + NumCast + Neg<Output = Self> {
/// let a = 4.0; /// let a = 4.0;
/// let b = 0.5; /// let b = 0.5;
/// ///
/// let difference = self.pown(a) - 2.0; /// let difference = a.pown(b) - 2.0;
/// ///
/// assert(difference < 1e-10); /// assert(difference < 1e-10);
/// ``` /// ```