diff options
| author | Steven Fackler <sfackler@gmail.com> | 2013-08-18 20:32:35 -0400 |
|---|---|---|
| committer | Steven Fackler <sfackler@gmail.com> | 2013-08-18 20:32:35 -0400 |
| commit | b66cdb16fe0cb6faaed628ad16a98c3dd284f505 (patch) | |
| tree | 0f7315c3e912289c7c14b76235a90fdee16557fa /src/libstd/rt | |
| parent | 7503396070a8d69040e9998faf667c29c6a6f2cb (diff) | |
| download | rust-b66cdb16fe0cb6faaed628ad16a98c3dd284f505.tar.gz rust-b66cdb16fe0cb6faaed628ad16a98c3dd284f505.zip | |
Delete std::rt::io::net::http
It's an empty stub and as one of the comments notes, doesn't belong in libstd.
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/io/mod.rs | 1 | ||||
| -rw-r--r-- | src/libstd/rt/io/net/http.rs | 29 |
2 files changed, 0 insertions, 30 deletions
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 <LICENSE-APACHE or -// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license -// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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 { - } - } -} |
