Skip to content

Commit

Permalink
Use 2018 edition for ndarray-rand (#662)
Browse files Browse the repository at this point in the history
* ndarray-rand to 2018 edition

* cargo fmt
  • Loading branch information
max-sixty authored and LukeMathWalker committed Jul 18, 2019
1 parent eb6fa77 commit 2075267
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions ndarray-rand/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "ndarray-rand"
version = "0.9.0"
edition = "2018"
authors = ["bluss"]
license = "MIT/Apache-2.0"

Expand Down
2 changes: 0 additions & 2 deletions ndarray-rand/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
//! Constructors for randomized arrays. `rand` integration for `ndarray`.
//!
//! See [**`RandomExt`**](trait.RandomExt.html) for usage examples.
extern crate ndarray;
extern crate rand;

use rand::distributions::Distribution;
use rand::rngs::SmallRng;
Expand Down
4 changes: 0 additions & 4 deletions ndarray-rand/tests/tests.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
extern crate ndarray;
extern crate ndarray_rand;
extern crate rand;

use ndarray::Array;
use ndarray_rand::RandomExt;
use rand::distributions::Uniform;
Expand Down

0 comments on commit 2075267

Please sign in to comment.