From 5749ffcf7afeefcbeaf38f1a29dabde7c7da9626 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Fri, 3 May 2013 15:42:42 -0700 Subject: [PATCH] Remove ancient `net.rs` --- src/servo/net.rs | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 src/servo/net.rs diff --git a/src/servo/net.rs b/src/servo/net.rs deleted file mode 100644 index cd1c5df0f06..00000000000 --- a/src/servo/net.rs +++ /dev/null @@ -1,33 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ - -export uri, input_stream, channel, io_service, file_channel; - -import uri::uri; - -iface input_stream { - fn close(); - fn read() -> ~[u8]; -} - -iface channel { - fn uri() -> uri; - fn open() -> input_stream; -} - -iface io_service { - fn new_uri(spec: ~str) -> uri; - fn new_channel(uri: uri) -> channel; -} - -class file_channel: channel { - let bogus : int; - - new() { - self.bogus = 0; - } - - fn uri() -> uri { fail } - fn open() -> input_stream { fail } -}