From b66cdb16fe0cb6faaed628ad16a98c3dd284f505 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sun, 18 Aug 2013 20:32:35 -0400 Subject: [PATCH] Delete std::rt::io::net::http It's an empty stub and as one of the comments notes, doesn't belong in libstd. --- src/libstd/rt/io/mod.rs | 1 - src/libstd/rt/io/net/http.rs | 29 ----------------------------- 2 files changed, 30 deletions(-) delete mode 100644 src/libstd/rt/io/net/http.rs diff --git a/src/libstd/rt/io/mod.rs b/src/libstd/rt/io/mod.rs index c980dc9d73e..3d2a064dfc7 100644 --- a/src/libstd/rt/io/mod.rs +++ b/src/libstd/rt/io/mod.rs @@ -275,7 +275,6 @@ pub mod net { pub mod ip; #[cfg(unix)] pub mod unix; - pub mod http; } /// Readers and Writers for memory buffers and strings. diff --git a/src/libstd/rt/io/net/http.rs b/src/libstd/rt/io/net/http.rs deleted file mode 100644 index c693cfaab67..00000000000 --- a/src/libstd/rt/io/net/http.rs +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2013 The Rust Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution and at -// http://rust-lang.org/COPYRIGHT. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -//! Simple HTTP client and server - -// XXX This should not be in core - -struct HttpServer; - -#[cfg(test)] -mod test { - use unstable::run_in_bare_thread; - - #[test] #[ignore] - fn smoke_test() { - do run_in_bare_thread { - } - - do run_in_bare_thread { - } - } -}