diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-03-19 23:23:00 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-03-20 09:30:14 -0700 |
| commit | da3625161d8f8bcb2f43d703eec8d002d0bb9c87 (patch) | |
| tree | 4d1a336aa48054131a90cda34ecd71ff309a3616 /src/libnum | |
| parent | 7a5a8c3c0776636aef8e1d98dfed5e96573ea544 (diff) | |
| download | rust-da3625161d8f8bcb2f43d703eec8d002d0bb9c87.tar.gz rust-da3625161d8f8bcb2f43d703eec8d002d0bb9c87.zip | |
Removing imports of std::vec_ng::Vec
It's now in the prelude.
Diffstat (limited to 'src/libnum')
| -rw-r--r-- | src/libnum/bigint.rs | 3 | ||||
| -rw-r--r-- | src/libnum/lib.rs | 1 | ||||
| -rw-r--r-- | src/libnum/rational.rs | 1 |
3 files changed, 0 insertions, 5 deletions
diff --git a/src/libnum/bigint.rs b/src/libnum/bigint.rs index cba24b478fc..5716a1dedf3 100644 --- a/src/libnum/bigint.rs +++ b/src/libnum/bigint.rs @@ -29,7 +29,6 @@ use std::str; use std::uint; use std::{i64, u64}; use std::vec; -use std::vec::Vec; /** A `BigDigit` is a `BigUint`'s composing element. @@ -1461,7 +1460,6 @@ mod biguint_tests { use std::num::CheckedDiv; use rand::{task_rng}; use std::u64; - use std::vec::Vec; #[test] fn test_from_slice() { @@ -2195,7 +2193,6 @@ mod bigint_tests { use std::num::{ToPrimitive, FromPrimitive}; use rand::{task_rng}; use std::u64; - use std::vec::Vec; #[test] fn test_from_biguint() { diff --git a/src/libnum/lib.rs b/src/libnum/lib.rs index 05b94af9b8c..e2c6c37dae1 100644 --- a/src/libnum/lib.rs +++ b/src/libnum/lib.rs @@ -17,7 +17,6 @@ #[doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_root_url = "http://static.rust-lang.org/doc/master")]; -#[allow(deprecated_owned_vector)]; extern crate rand; diff --git a/src/libnum/rational.rs b/src/libnum/rational.rs index 1e97d85aa17..afd4fa73ef6 100644 --- a/src/libnum/rational.rs +++ b/src/libnum/rational.rs @@ -16,7 +16,6 @@ use std::cmp; use std::fmt; use std::from_str::FromStr; use std::num::{Zero,One,ToStrRadix,FromStrRadix,Round}; -use std::vec::Vec; use bigint::{BigInt, BigUint, Sign, Plus, Minus}; /// Represents the ratio between 2 numbers. |
