Changes for Cargo edition 2018

This commit is contained in:
Michael Neumann 2019-04-06 20:05:22 +02:00
parent d52fb6c257
commit 2824a1123f
3 changed files with 7 additions and 7 deletions

View File

@ -21,9 +21,9 @@ extern crate test;
use std::{f32, f64}; use std::{f32, f64};
use std::ops::{Add, Sub}; use std::ops::{Add, Sub};
use coverage::Coverage; use crate::coverage::Coverage;
use mark_matrix::MarkMatrix; use crate::mark_matrix::MarkMatrix;
pub use weight_matrix::WeightMatrix; pub use crate::weight_matrix::WeightMatrix;
use ndarray::Array2; use ndarray::Array2;

View File

@ -1,4 +1,4 @@
use SquareMatrix; use crate::SquareMatrix;
#[derive(Clone, Copy, PartialEq, Eq, Debug)] #[derive(Clone, Copy, PartialEq, Eq, Debug)]
#[repr(u8)] #[repr(u8)]

View File

@ -1,6 +1,6 @@
use WeightNum; use crate::WeightNum;
use Weights; use crate::Weights;
use SquareMatrix; use crate::SquareMatrix;
#[derive(Debug)] #[derive(Debug)]
pub struct WeightMatrix<T: WeightNum> { pub struct WeightMatrix<T: WeightNum> {