We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cargo fmt
1 parent 85473db commit 49713a1Copy full SHA for 49713a1
src/client.rs
@@ -142,8 +142,7 @@ impl Client {
142
/// [`ClientBuilder`]: struct.ClientBuilder.html
143
/// [`.stream()`]: #method.stream
144
pub fn for_str(str_url: &str) -> Result<ClientBuilder> {
145
- let url = Url::parse(str_url)
146
- .map_err(|e| Error::HttpRequest(Box::new(e)))?;
+ let url = Url::parse(str_url).map_err(|e| Error::HttpRequest(Box::new(e)))?;
147
Ok(ClientBuilder {
148
url: url,
149
headers: r::header::HeaderMap::new(),
0 commit comments