mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-13 03:11:02 +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 {
|
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
@@ -1,4 +1,4 @@
|
|||||||
#![feature(core, io, path, std_misc, unicode)]
|
#![feature(core, io, std_misc, unicode)]
|
||||||
|
|
||||||
extern crate unicode;
|
extern crate unicode;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user