diff --git a/src/funs/common.rs b/src/funs/common.rs index c61c8b9..bc27d10 100644 --- a/src/funs/common.rs +++ b/src/funs/common.rs @@ -58,12 +58,12 @@ pub impl float: Sign { } -pub impl Radians: Sign{ +pub impl Radians: Sign{ #[inline(always)] pure fn abs() -> Radians { Radians(abs(&*self)) } #[inline(always)] pure fn sign() -> Radians { Radians(sign(&*self)) } } -pub impl Degrees: Sign{ +pub impl Degrees: Sign{ #[inline(always)] pure fn abs() -> Degrees { Degrees(abs(&*self)) } #[inline(always)] pure fn sign() -> Degrees { Degrees(sign(&*self)) } } @@ -162,7 +162,7 @@ pub impl float: Approx { } -pub impl Radians: Approx{ +pub impl Radians: Approx{ #[inline(always)] pure fn floor() -> Radians { Radians(floor(&*self)) } #[inline(always)] pure fn trunc() -> Radians { Radians(trunc(&*self)) } #[inline(always)] pure fn round() -> Radians { Radians(round(&*self)) } @@ -171,7 +171,7 @@ pub impl Radians: Approx{ #[inline(always)] pure fn fract() -> Radians { Radians(fract(&*self)) } } -pub impl Degrees: Approx{ +pub impl Degrees: Approx{ #[inline(always)] pure fn floor() -> Degrees { Degrees(floor(&*self)) } #[inline(always)] pure fn trunc() -> Degrees { Degrees(trunc(&*self)) } #[inline(always)] pure fn round() -> Degrees { Degrees(round(&*self)) }