Run cargo fmt --all

This commit is contained in:
Yoan Lecoq 2019-09-04 14:09:58 +02:00 committed by Josh Stone
parent 4b1ea5fb12
commit 0547a355ee
3 changed files with 101 additions and 103 deletions

View File

@ -10,7 +10,6 @@ use {Num, NumCast, ToPrimitive};
#[cfg(feature = "libm")]
use libm::{F32Ext, F64Ext};
/// Generic trait for floating point numbers that works with `no_std`.
///
/// This trait implements a subset of the `Float` trait.
@ -2009,7 +2008,6 @@ float_impl_libm!(f32 integer_decode_f32 F32Ext);
#[cfg(all(not(feature = "std"), feature = "libm"))]
float_impl_libm!(f64 integer_decode_f64 F64Ext);
macro_rules! float_const_impl {
($(#[$doc:meta] $constant:ident,)+) => (
#[allow(non_snake_case)]

View File

@ -155,7 +155,7 @@ pow_impl!(Wrapping<isize>);
#[cfg(any(feature = "std", feature = "libm"))]
mod float_impls {
use super::Pow;
use ::Float;
use Float;
pow_impl!(f32, i8, i32, <f32 as Float>::powi);
pow_impl!(f32, u8, i32, <f32 as Float>::powi);