diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-03-09 20:04:35 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-12 10:23:27 -0700 |
| commit | c933d44f7bb908aa520250b608f85bfacfccc337 (patch) | |
| tree | 82cab26f340e4cfdc5d373d621fd77713f6c6d78 /src/libstd/sys/windows/tcp.rs | |
| parent | 206ee0e8533dd3e1ee324da445e02ad79c51e849 (diff) | |
| download | rust-c933d44f7bb908aa520250b608f85bfacfccc337.tar.gz rust-c933d44f7bb908aa520250b608f85bfacfccc337.zip | |
std: Remove #[allow] directives in sys modules
These were suppressing lots of interesting warnings! Turns out there was also quite a bit of dead code.
Diffstat (limited to 'src/libstd/sys/windows/tcp.rs')
| -rw-r--r-- | src/libstd/sys/windows/tcp.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/sys/windows/tcp.rs b/src/libstd/sys/windows/tcp.rs index 8547de145f8..6e46bf97d1b 100644 --- a/src/libstd/sys/windows/tcp.rs +++ b/src/libstd/sys/windows/tcp.rs @@ -10,12 +10,13 @@ #![allow(deprecated)] +use prelude::v1::*; + use old_io::net::ip; use old_io::IoResult; use libc; use mem; use ptr; -use prelude::v1::*; use super::{last_error, last_net_error, sock_t}; use sync::Arc; use sync::atomic::{AtomicBool, Ordering}; |
