From e3dc6c5511b2e5673d46bd3d278a86702bd0402c Mon Sep 17 00:00:00 2001 From: Alexis Mousset Date: Sun, 26 Aug 2018 20:50:07 +0200 Subject: [PATCH] docs(examples): Fix typo in client_json example comment Fixes typo on comment about error types in client_json example. --- examples/client_json.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/client_json.rs b/examples/client_json.rs index 14b81dbf..180306ac 100644 --- a/examples/client_json.rs +++ b/examples/client_json.rs @@ -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 for FetchError { fn from(err: serde_json::Error) -> FetchError { FetchError::Json(err) } -} \ No newline at end of file +}