From ce19eb4329df398dc8ad2db3da08d1e7b8a06ffe Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 11 Jun 2014 21:29:16 -0700 Subject: [PATCH] Update to Rust nightly --- du/du.rs | 3 +-- uutils/uutils.rs | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/du/du.rs b/du/du.rs index 055e1d211..6bd1ad54d 100644 --- a/du/du.rs +++ b/du/du.rs @@ -14,15 +14,14 @@ extern crate getopts; extern crate libc; -extern crate sync; extern crate time; use std::os; use std::io::{stderr, fs, FileStat, TypeDirectory}; use std::option::Option; use std::path::Path; +use std::sync::{Arc, Future}; use time::Timespec; -use sync::{Arc, Future}; #[path = "../common/util.rs"] mod util; diff --git a/uutils/uutils.rs b/uutils/uutils.rs index 8c708c123..64fa66609 100644 --- a/uutils/uutils.rs +++ b/uutils/uutils.rs @@ -9,7 +9,6 @@ * file that was distributed with this source code. */ -extern crate collections; extern crate getopts; extern crate base64; @@ -54,7 +53,7 @@ extern crate whoami; extern crate yes; use std::os; -use collections::hashmap::HashMap; +use std::collections::hashmap::HashMap; static NAME: &'static str = "uutils"; static VERSION: &'static str = "1.0.0";