Re-export num-traits crate
This commit is contained in:
parent
a521a9254f
commit
5a8caa47f0
1 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,7 @@
|
||||||
//! use cgmath::prelude::*;
|
//! use cgmath::prelude::*;
|
||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
extern crate num_traits;
|
extern crate num_traits as _num_traits;
|
||||||
extern crate rustc_serialize;
|
extern crate rustc_serialize;
|
||||||
extern crate rand;
|
extern crate rand;
|
||||||
|
|
||||||
|
@ -75,6 +75,7 @@ pub use num_traits::{One, Zero};
|
||||||
// Modules
|
// Modules
|
||||||
|
|
||||||
pub mod conv;
|
pub mod conv;
|
||||||
|
pub use _num_traits as num_traits;
|
||||||
pub mod prelude;
|
pub mod prelude;
|
||||||
|
|
||||||
mod macros;
|
mod macros;
|
||||||
|
|
Loading…
Reference in a new issue