From df93ed2d1c2773ba91d08c5c4c9ef1f6c12df4e0 Mon Sep 17 00:00:00 2001 From: Eduard Bopp Date: Sun, 29 Mar 2015 13:00:09 +0200 Subject: [PATCH] Replace quoted crate declarations --- src/lib.rs | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 7670f142..20938215 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -24,7 +24,7 @@ The preferred way to use **nalgebra** is to import types and traits explicitly, free-functions using the `na::` prefix: ```.rust -extern crate "nalgebra" as na; +extern crate nalgebra as na; use na::{Vec3, Rot3, Rotation}; fn main() { @@ -371,7 +371,7 @@ pub fn perspective3d + Zero + One>(width: N, height: N, /// Gets the translation applicable by `m`. /// /// ```rust -/// extern crate "nalgebra" as na; +/// extern crate nalgebra as na; /// use na::{Vec3, Iso3}; /// /// fn main() { @@ -389,7 +389,7 @@ pub fn translation>(m: &M) -> V { /// Gets the inverse translation applicable by `m`. /// /// ```rust -/// extern crate "nalgebra" as na; +/// extern crate nalgebra as na; /// use na::{Vec3, Iso3}; /// /// fn main() { @@ -417,7 +417,7 @@ pub fn append_translation>(m: &M, v: &V) -> M { /// Applies a translation to a point. /// /// ```rust -/// extern crate "nalgebra" as na; +/// extern crate nalgebra as na; /// use na::{Pnt3, Vec3, Iso3}; /// /// fn main() { @@ -437,7 +437,7 @@ pub fn translate>(m: &M, p: &P) -> P { /// Applies an inverse translation to a point. /// /// ```rust -/// extern crate "nalgebra" as na; +/// extern crate nalgebra as na; /// use na::{Pnt3, Vec3, Iso3}; /// /// fn main() { @@ -460,7 +460,7 @@ pub fn inv_translate>(m: &M, p: &P) -> P { /// Gets the rotation applicable by `m`. /// /// ```rust -/// extern crate "nalgebra" as na; +/// extern crate nalgebra as na; /// use na::{Vec3, Rot3}; /// /// fn main() { @@ -478,7 +478,7 @@ pub fn rotation>(m: &M) -> V { /// Gets the inverse rotation applicable by `m`. /// /// ```rust -/// extern crate "nalgebra" as na; +/// extern crate nalgebra as na; /// use na::{Vec3, Rot3}; /// /// fn main() { @@ -496,7 +496,7 @@ pub fn inv_rotation>(m: &M) -> V { /// Applies the rotation `v` to a copy of `m`. /// /// ```rust -/// extern crate "nalgebra" as na; +/// extern crate nalgebra as na; /// use na::{Vec3, Rot3}; /// /// fn main() { @@ -516,7 +516,7 @@ pub fn append_rotation>(m: &M, v: &V) -> M { /// Pre-applies the rotation `v` to a copy of `m`. /// /// ```rust -/// extern crate "nalgebra" as na; +/// extern crate nalgebra as na; /// use na::{Vec3, Rot3}; /// /// fn main() { @@ -539,7 +539,7 @@ pub fn prepend_rotation>(m: &M, v: &V) -> M { /// Applies a rotation to a vector. /// /// ```rust -/// extern crate "nalgebra" as na; +/// extern crate nalgebra as na; /// use na::{BaseFloat, Rot3, Vec3}; /// /// fn main() { @@ -560,7 +560,7 @@ pub fn rotate>(m: &M, v: &V) -> V { /// Applies an inverse rotation to a vector. /// /// ```rust -/// extern crate "nalgebra" as na; +/// extern crate nalgebra as na; /// use na::{BaseFloat, Rot3, Vec3}; /// /// fn main() {