Remove commented out code
This commit is contained in:
parent
e1fcfd1b22
commit
23167ae077
|
@ -46,16 +46,6 @@ impl From<serde_json::Error> for Error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//impl fmt::Display for Error {
|
|
||||||
// fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result {
|
|
||||||
// formatter.write_str(&match self {
|
|
||||||
// Error::Reqwest(err) => format!("reqwest: {}", err),
|
|
||||||
// Error::SerdeJSON(err) => format!("serde_json: {}", err),
|
|
||||||
// Error::ApiErrors(err) =>
|
|
||||||
// })
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
|
|
||||||
#[derive(Debug, Deserialize)]
|
#[derive(Debug, Deserialize)]
|
||||||
pub struct APIErrors {
|
pub struct APIErrors {
|
||||||
pub errors: Vec<APIError>,
|
pub errors: Vec<APIError>,
|
||||||
|
|
Loading…
Reference in New Issue