From f771d5dbc33accd0c7e2367182e5c85c82f91d2d Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Tue, 21 Oct 2014 13:36:10 +0200 Subject: [PATCH 1/2] tee: fix build --- src/tee/tee.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tee/tee.rs b/src/tee/tee.rs index 6439cfc28..9aa8873d0 100644 --- a/src/tee/tee.rs +++ b/src/tee/tee.rs @@ -152,5 +152,5 @@ fn with_path(path: &Path, cb: || -> IoResult) -> IoResult { } fn warn(message: &str) { - error!("{}: {}", os::args().get(0), message); + error!("{}: {}", os::args()[0], message); } From 5051a231dc2963b74c942680c7a883b96c5af623 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Tue, 21 Oct 2014 13:39:36 +0200 Subject: [PATCH 2/2] uniq: fix build --- src/uniq/uniq.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uniq/uniq.rs b/src/uniq/uniq.rs index 9b7049722..e80ada2b7 100644 --- a/src/uniq/uniq.rs +++ b/src/uniq/uniq.rs @@ -13,7 +13,7 @@ extern crate getopts; -use std::ascii::OwnedStrAsciiExt; +use std::ascii::OwnedAsciiExt; use std::cmp::min; use std::from_str::FromStr; use std::io;