mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 14:57:59 +00:00
Add a string argument to Error::syntax()
This commit is contained in:
@@ -9,7 +9,7 @@ use serde_json;
|
||||
struct Error;
|
||||
|
||||
impl serde::de::Error for Error {
|
||||
fn syntax() -> Error { Error }
|
||||
fn syntax(_: &str) -> Error { Error }
|
||||
|
||||
fn end_of_stream() -> Error { Error }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user