Remove use of 'extern crate'

This commit is contained in:
David Tolnay
2020-05-29 21:49:21 -07:00
parent 59383f3e2d
commit 2cfbf40a86
7 changed files with 0 additions and 18 deletions
-1
View File
@@ -2,7 +2,6 @@
#![feature(test)]
extern crate ryu;
extern crate test;
macro_rules! benches {
-3
View File
@@ -1,8 +1,5 @@
// cargo run --example upstream_benchmark --release
extern crate rand;
extern crate ryu;
use rand::{Rng, SeedableRng};
const SAMPLES: usize = 10000;
-3
View File
@@ -88,9 +88,6 @@
allow(cast_lossless, many_single_char_names, unreadable_literal,)
)]
#[cfg(feature = "no-panic")]
extern crate no_panic;
mod buffer;
mod common;
mod d2s;
-2
View File
@@ -20,8 +20,6 @@
#![allow(dead_code)]
extern crate core;
#[path = "../src/common.rs"]
mod common;
-3
View File
@@ -18,9 +18,6 @@
// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied.
extern crate rand;
extern crate ryu;
#[macro_use]
mod macros;
-3
View File
@@ -1,8 +1,5 @@
#![cfg(exhaustive)]
extern crate num_cpus;
extern crate ryu;
use std::str;
use std::sync::atomic::{AtomicUsize, Ordering};
use std::sync::Arc;
-3
View File
@@ -18,9 +18,6 @@
// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied.
extern crate rand;
extern crate ryu;
#[macro_use]
mod macros;