Fixed the library to use the new Rust 2018 module system.
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
use std::ops::{Add, Sub, Mul, Div, Rem, Neg};
|
||||
use std::ops::{AddAssign, SubAssign, MulAssign, DivAssign, RemAssign};
|
||||
|
||||
use ::constants::Constants;
|
||||
use ::real::Real;
|
||||
use ::trig::radian::Radian;
|
||||
use crate::constants::Constants;
|
||||
use crate::real::Real;
|
||||
use crate::trig::radian::Radian;
|
||||
|
||||
|
||||
|
||||
|
@ -1,9 +1,10 @@
|
||||
use std::ops::{Add, Sub, Mul, Div, Rem, Neg};
|
||||
use std::ops::{AddAssign, SubAssign, MulAssign, DivAssign, RemAssign};
|
||||
|
||||
use ::constants::Constants;
|
||||
use ::real::Real;
|
||||
use ::trig::degree::Degree;
|
||||
use crate::constants::Constants;
|
||||
use crate::real::Real;
|
||||
use crate::trig::degree::Degree;
|
||||
|
||||
|
||||
|
||||
/// A unit of angle, equal to an angle at the center of
|
||||
|
@ -1,7 +1,7 @@
|
||||
use binding::{CDouble, CFloat};
|
||||
|
||||
use ::real::Real;
|
||||
use ::trig::radian::Radian;
|
||||
use crate::real::Real;
|
||||
use crate::trig::radian::Radian;
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user