mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Move use
statements.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
This commit is contained in:
parent
682939724f
commit
def88913d8
@ -633,16 +633,12 @@ pub mod bytepipes {
|
|||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
|
|
||||||
use flatpipes::{Flattener, Unflattener};
|
use flatpipes::BytePort;
|
||||||
use flatpipes::bytepipes::*;
|
|
||||||
use flatpipes::pod;
|
use flatpipes::pod;
|
||||||
use flatpipes::serial;
|
use flatpipes::serial;
|
||||||
use io_util::BufReader;
|
use io_util::BufReader;
|
||||||
use flatpipes::{BytePort, FlatChan, FlatPort};
|
|
||||||
|
|
||||||
use std::comm;
|
|
||||||
use std::io::BytesWriter;
|
use std::io::BytesWriter;
|
||||||
use std::result;
|
|
||||||
use std::task;
|
use std::task;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
@ -727,7 +723,11 @@ mod test {
|
|||||||
|
|
||||||
// FIXME #2064: Networking doesn't work on x86
|
// FIXME #2064: Networking doesn't work on x86
|
||||||
// XXX Broken until networking support is added back
|
// XXX Broken until networking support is added back
|
||||||
/*#[test]
|
/*
|
||||||
|
use flatpipes::{Flattener, Unflattener, FlatChan, FlatPort};
|
||||||
|
use flatpipes::bytepipes::*;
|
||||||
|
|
||||||
|
#[test]
|
||||||
#[cfg(target_arch = "x86_64")]
|
#[cfg(target_arch = "x86_64")]
|
||||||
fn test_pod_tcp_stream() {
|
fn test_pod_tcp_stream() {
|
||||||
fn reader_port(buf: TcpSocketBuf
|
fn reader_port(buf: TcpSocketBuf
|
||||||
@ -767,6 +767,8 @@ mod test {
|
|||||||
port: uint) {
|
port: uint) {
|
||||||
|
|
||||||
use std::cell::Cell;
|
use std::cell::Cell;
|
||||||
|
use std::comm;
|
||||||
|
use std::result;
|
||||||
use net::ip;
|
use net::ip;
|
||||||
use net::tcp;
|
use net::tcp;
|
||||||
use uv;
|
use uv;
|
||||||
|
Loading…
Reference in New Issue
Block a user