diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2013-05-03 15:42:42 -0700 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2013-05-06 15:42:42 -0700 |
commit | 5749ffcf7afeefcbeaf38f1a29dabde7c7da9626 (patch) | |
tree | 1307aa8211fac255431032722284eda14375a50b /src | |
parent | b17fffa9d926f4a2a805445c68f120c7912f2c57 (diff) | |
download | servo-5749ffcf7afeefcbeaf38f1a29dabde7c7da9626.tar.gz servo-5749ffcf7afeefcbeaf38f1a29dabde7c7da9626.zip |
Remove ancient `net.rs`
Diffstat (limited to 'src')
-rw-r--r-- | src/servo/net.rs | 33 |
1 files changed, 0 insertions, 33 deletions
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 } -} |