Tidy up use declaration syntax.

This commit is contained in:
Dan Gohman
2018-12-06 17:59:58 -05:00
parent 95a6a25db3
commit 5b03581442
7 changed files with 15 additions and 7 deletions

View File

@@ -7,13 +7,14 @@ use cranelift_codegen::dbg::LOG_FILENAME_PREFIX;
use cranelift_codegen::timing;
use file_per_thread_logger;
use num_cpus;
use runone;
use std::panic::catch_unwind;
use std::path::{Path, PathBuf};
use std::sync::mpsc::{channel, Receiver, Sender};
use std::sync::{Arc, Mutex};
use std::thread;
use std::time::Duration;
use {runone, TestResult};
use TestResult;
/// Request sent to worker threads contains jobid and path.
struct Request(usize, PathBuf);

View File

@@ -5,12 +5,13 @@
use concurrent::{ConcurrentRunner, Reply};
use cranelift_codegen::timing;
use runone;
use std::error::Error;
use std::ffi::OsStr;
use std::fmt::{self, Display};
use std::path::{Path, PathBuf};
use std::time;
use {runone, TestResult};
use TestResult;
/// Timeout in seconds when we're not making progress.
const TIMEOUT_PANIC: usize = 10;