fix query doc typo (#309)

This commit is contained in:
Ben Shaw
2018-06-26 18:40:28 -07:00
committed by Sean McArthur
parent a4f5c2d3f0
commit 7bd3619ece
2 changed files with 2 additions and 2 deletions

View File

@@ -133,7 +133,7 @@ impl RequestBuilder {
/// be called multiple times and that existing query parameters are not /// be called multiple times and that existing query parameters are not
/// overwritten if the same key is used. The key will simply show up /// overwritten if the same key is used. The key will simply show up
/// twice in the query string. /// 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 /// # Note
/// This method does not support serializing a single key-value /// This method does not support serializing a single key-value

View File

@@ -217,7 +217,7 @@ impl RequestBuilder {
/// be called multiple times and that existing query parameters are not /// be called multiple times and that existing query parameters are not
/// overwritten if the same key is used. The key will simply show up /// overwritten if the same key is used. The key will simply show up
/// twice in the query string. /// 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 /// ```rust
/// # use reqwest::Error; /// # use reqwest::Error;