From b36039a6eedb7c1c932cef304cdac7d3e59b2f9e Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Wed, 25 Mar 2015 22:14:17 -0400 Subject: [PATCH] Fixed the tests --- src/rotation.rs | 1 + tests/quaternion.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/rotation.rs b/src/rotation.rs index 2a45328..8e92d31 100644 --- a/src/rotation.rs +++ b/src/rotation.rs @@ -133,6 +133,7 @@ pub trait Rotation3: Rotation, Point3> /// matrix: /// /// ```no_run +/// #![feature(core)] /// use cgmath::rad; /// use cgmath::Vector2; /// use cgmath::{Matrix, ToMatrix2}; diff --git a/tests/quaternion.rs b/tests/quaternion.rs index 05c46f7..6b0dcf2 100644 --- a/tests/quaternion.rs +++ b/tests/quaternion.rs @@ -13,6 +13,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +#![feature(core)] extern crate cgmath;