mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 18:48:03 +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,
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user