mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-10-22 03:36:17 +00:00
Update for rustc 1.0.0-nightly (8903c21d6 2015-01-15 22:42:58 +0000)
This commit is contained in:
1 parent
8715a41158
commit
460dbce8cc
19 files changed
+160
-147
No files matched your search
@@ -103,7 +103,7 @@ impl error::Error for Error {
|
||||
fn detail(&self) -> Option<String> {
|
||||
match *self {
|
||||
Error::SyntaxError(ref code, line, col) => {
|
||||
Some(format!("{} at line {} column {}", code, line, col))
|
||||
Some(format!("{:?} at line {:?} column {:?}", code, line, col))
|
||||
}
|
||||
Error::IoError(ref error) => error.detail(),
|
||||
/*
|
||||
|
||||
Reference in new issue
Block a user