Fixed the library to use the new Rust 2018 module system.

This commit is contained in:
2019-01-20 00:59:58 -05:00
parent 46f1bcafca
commit 097d9df847
10 changed files with 45 additions and 39 deletions

View File

@ -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;

View File

@ -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

View File

@ -1,7 +1,7 @@
use binding::{CDouble, CFloat};
use ::real::Real;
use ::trig::radian::Radian;
use crate::real::Real;
use crate::trig::radian::Radian;