From 7c39d9f136c1c87472f2f5bc6735ec809d3b3c17 Mon Sep 17 00:00:00 2001 From: Jack Moffitt Date: Thu, 12 Sep 2013 19:44:13 -0600 Subject: [PATCH] Upgrades for latest rust. --- ast.rs | 1 - parser.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ast.rs b/ast.rs index 1bf59697..4e33823a 100644 --- a/ast.rs +++ b/ast.rs @@ -2,7 +2,6 @@ * 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/. */ -use std::str::ToStr; use std::vec; diff --git a/parser.rs b/parser.rs index d53b5d3a..77b6b12f 100644 --- a/parser.rs +++ b/parser.rs @@ -14,7 +14,7 @@ /// with v.consume_iter() -use std::iterator::Iterator; +use std::iter::Iterator; use std::ascii::StrAsciiExt; use ast::*;