From 7bd3619ece1c3176e2bd26a69de3145bef7df85d Mon Sep 17 00:00:00 2001 From: Ben Shaw Date: Tue, 26 Jun 2018 18:40:28 -0700 Subject: [PATCH] fix query doc typo (#309) --- src/async_impl/request.rs | 2 +- src/request.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/async_impl/request.rs b/src/async_impl/request.rs index eca5981..42bc401 100644 --- a/src/async_impl/request.rs +++ b/src/async_impl/request.rs @@ -133,7 +133,7 @@ impl RequestBuilder { /// be called multiple times and that existing query parameters are not /// overwritten if the same key is used. The key will simply show up /// twice in the query string. - /// Calling `.query([("foo", "a"), ("foo", "b")])` gives `"foo=a&boo=b"`. + /// Calling `.query([("foo", "a"), ("foo", "b")])` gives `"foo=a&foo=b"`. /// /// # Note /// This method does not support serializing a single key-value diff --git a/src/request.rs b/src/request.rs index 1d75300..44c5def 100644 --- a/src/request.rs +++ b/src/request.rs @@ -217,7 +217,7 @@ impl RequestBuilder { /// be called multiple times and that existing query parameters are not /// overwritten if the same key is used. The key will simply show up /// twice in the query string. - /// Calling `.query(&[("foo", "a"), ("foo", "b")])` gives `"foo=a&boo=b"`. + /// Calling `.query(&[("foo", "a"), ("foo", "b")])` gives `"foo=a&foo=b"`. /// /// ```rust /// # use reqwest::Error;