Skip to content

Commit

Permalink
docs(examples): Fix typo in client_json example comment
Browse files Browse the repository at this point in the history
Fixes typo on comment about error types in client_json example.
  • Loading branch information
amousset authored and seanmonstar committed Aug 27, 2018
1 parent abe8ddd commit e3dc6c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/client_json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -80,4 +80,4 @@ impl From<serde_json::Error> for FetchError {
fn from(err: serde_json::Error) -> FetchError {
FetchError::Json(err)
}
}
}

0 comments on commit e3dc6c5

Please sign in to comment.