aboutsummaryrefslogtreecommitdiffstats
path: root/src/client.rs
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-01-03 23:53:24 +0100
committerHarald Eilertsen <haraldei@anduin.net>2020-01-03 23:53:24 +0100
commit862a3b67d701b3c124e1b682db0cee5fc5b711da (patch)
tree25a52d53467f29c24e59e41fe1052ff1dd9cef28 /src/client.rs
parentfa6296ce5f0b0309c86acf8dabe536f53cce0387 (diff)
downloadrust-zotapi-862a3b67d701b3c124e1b682db0cee5fc5b711da.tar.gz
rust-zotapi-862a3b67d701b3c124e1b682db0cee5fc5b711da.tar.bz2
rust-zotapi-862a3b67d701b3c124e1b682db0cee5fc5b711da.zip
Cargo fmt
Diffstat (limited to 'src/client.rs')
-rw-r--r--src/client.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client.rs b/src/client.rs
index d37133f..5381286 100644
--- a/src/client.rs
+++ b/src/client.rs
@@ -47,8 +47,7 @@ impl Client {
where
T: Serialize + std::fmt::Debug,
{
- let mut r = self.base_url.clone()
- .join(path).unwrap();
+ let mut r = self.base_url.clone().join(path).unwrap();
if let Ok(a) = serde_qs::to_string(dbg!(args)) {
r.set_query(Some(&a));