mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-25 18:37:55 +00:00
Fix some warnings
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ impl error::Error for Error {
|
||||
fn description(&self) -> &str {
|
||||
match *self {
|
||||
Error::SyntaxError(..) => "syntax error",
|
||||
Error::IoError(ref error) => error.description(),
|
||||
Error::IoError(ref error) => error::Error::description(error),
|
||||
/*
|
||||
Error::ExpectedError(ref expected, _) => &expected,
|
||||
*/
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
#![feature(core, io, path, std_misc, unicode)]
|
||||
#![feature(core, io, std_misc, unicode)]
|
||||
|
||||
extern crate unicode;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user