Fix some warnings

This commit is contained in:
Erick Tryzelaar
2015-03-14 12:03:53 -07:00
parent d2bd361d9c
commit 87ff636c10
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ impl error::Error for Error {
fn description(&self) -> &str { fn description(&self) -> &str {
match *self { match *self {
Error::SyntaxError(..) => "syntax error", Error::SyntaxError(..) => "syntax error",
Error::IoError(ref error) => error.description(), Error::IoError(ref error) => error::Error::description(error),
/* /*
Error::ExpectedError(ref expected, _) => &expected, Error::ExpectedError(ref expected, _) => &expected,
*/ */
+1 -1
View File
@@ -1,4 +1,4 @@
#![feature(core, io, path, std_misc, unicode)] #![feature(core, io, std_misc, unicode)]
extern crate unicode; extern crate unicode;