fix(rustup): switch to unstable features

This commit is contained in:
Sean McArthur
2015-01-31 11:52:09 -08:00
parent 4ad4c491d3
commit 3af8b687d4
15 changed files with 20 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
#![allow(unstable)]
#![feature(os, io)]
extern crate hyper;
use std::os;

View File

@@ -1,4 +1,4 @@
#![allow(unstable)]
#![feature(io)]
extern crate hyper;
use std::old_io::net::ip::Ipv4Addr;

View File

@@ -1,4 +1,4 @@
#![allow(unstable)]
#![feature(core, io)]
extern crate hyper;
#[macro_use] extern crate log;
@@ -21,7 +21,7 @@ macro_rules! try_return(
fn echo(mut req: Request, mut res: Response) {
match req.uri {
AbsolutePath(ref path) => match (&req.method, path.as_slice()) {
AbsolutePath(ref path) => match (&req.method, &path[]) {
(&Get, "/") | (&Get, "/echo") => {
let out = b"Try POST /echo";