docs(examples): Fix typo in client_json example comment
Fixes typo on comment about error types in client_json example.
This commit is contained in:
committed by
Sean McArthur
parent
abe8ddd637
commit
e3dc6c5511
@@ -64,7 +64,7 @@ struct User {
|
||||
name: String,
|
||||
}
|
||||
|
||||
// Define a type so we can return multile types of errors
|
||||
// Define a type so we can return multiple types of errors
|
||||
enum FetchError {
|
||||
Http(hyper::Error),
|
||||
Json(serde_json::Error),
|
||||
@@ -80,4 +80,4 @@ impl From<serde_json::Error> for FetchError {
|
||||
fn from(err: serde_json::Error) -> FetchError {
|
||||
FetchError::Json(err)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user