Run cargo fmt --all
This commit is contained in:
parent
4b1ea5fb12
commit
0547a355ee
|
@ -10,7 +10,6 @@ use {Num, NumCast, ToPrimitive};
|
||||||
#[cfg(feature = "libm")]
|
#[cfg(feature = "libm")]
|
||||||
use libm::{F32Ext, F64Ext};
|
use libm::{F32Ext, F64Ext};
|
||||||
|
|
||||||
|
|
||||||
/// Generic trait for floating point numbers that works with `no_std`.
|
/// Generic trait for floating point numbers that works with `no_std`.
|
||||||
///
|
///
|
||||||
/// This trait implements a subset of the `Float` trait.
|
/// 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"))]
|
#[cfg(all(not(feature = "std"), feature = "libm"))]
|
||||||
float_impl_libm!(f64 integer_decode_f64 F64Ext);
|
float_impl_libm!(f64 integer_decode_f64 F64Ext);
|
||||||
|
|
||||||
|
|
||||||
macro_rules! float_const_impl {
|
macro_rules! float_const_impl {
|
||||||
($(#[$doc:meta] $constant:ident,)+) => (
|
($(#[$doc:meta] $constant:ident,)+) => (
|
||||||
#[allow(non_snake_case)]
|
#[allow(non_snake_case)]
|
||||||
|
|
|
@ -155,7 +155,7 @@ pow_impl!(Wrapping<isize>);
|
||||||
#[cfg(any(feature = "std", feature = "libm"))]
|
#[cfg(any(feature = "std", feature = "libm"))]
|
||||||
mod float_impls {
|
mod float_impls {
|
||||||
use super::Pow;
|
use super::Pow;
|
||||||
use ::Float;
|
use Float;
|
||||||
|
|
||||||
pow_impl!(f32, i8, i32, <f32 as Float>::powi);
|
pow_impl!(f32, i8, i32, <f32 as Float>::powi);
|
||||||
pow_impl!(f32, u8, i32, <f32 as Float>::powi);
|
pow_impl!(f32, u8, i32, <f32 as Float>::powi);
|
||||||
|
|
Loading…
Reference in New Issue