diff --git a/.travis.yml b/.travis.yml index ef83cf5..1fb3cfe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ language: rust rust: -- 1.0.0-beta +- 1.0.0-beta.2 env: global: - secure: S0l5RmsFJgbDdzXjHsCluexb1R9RklpxZMJgr9RcieeqSqaJDPUht53yBZDyuk04/KzEbtM5yxogJd2tcv2E4EogPLL8oG77GItNc/i6jy4TLUjU28WKOMiBvYA/1rhb7f/DEQgj7DtIHP/rQGKH8goUdJfqGbk7EawP7FSxC2Y= diff --git a/src/transform.rs b/src/transform.rs index aca4006..9e09f12 100644 --- a/src/transform.rs +++ b/src/transform.rs @@ -14,7 +14,6 @@ // limitations under the License. use std::fmt; -use std::marker::PhantomFn; use rust_num::{zero, one}; @@ -238,10 +237,7 @@ impl Transform3 for AffineMatrix3 {} /// A trait that allows extracting components (rotation, translation, scale) /// from an arbitrary transformations -// PhantomFn works around a beta bug in deteriming the usage of S/P, and should be safely removed -// when PhantomFn deprecation lands in stable. -pub trait ToComponents, P: Point, R: Rotation> - : PhantomFn + PhantomFn

{ +pub trait ToComponents, P: Point, R: Rotation> { /// Extract the (scale, rotation, translation) triple fn decompose(&self) -> (V, R, V); }