aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2020-01-02 21:10:55 +0100
committerHarald Eilertsen <haraldei@anduin.net>2020-01-02 21:10:55 +0100
commit16a56f12cd2e66e10f8bb5e2c4026d3a7148e680 (patch)
tree913bd32a563b32302c2e14304460a3cbc9a88a39 /src/lib.rs
parent7f306445cb78d52f598eca1810dc2c5002e34a4a (diff)
downloadrust-zotapi-16a56f12cd2e66e10f8bb5e2c4026d3a7148e680.tar.gz
rust-zotapi-16a56f12cd2e66e10f8bb5e2c4026d3a7148e680.tar.bz2
rust-zotapi-16a56f12cd2e66e10f8bb5e2c4026d3a7148e680.zip
Cargo fmt
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index e9b6bf9..eb5d897 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -25,8 +25,7 @@ mod xchan;
pub use client::Client;
pub use error::Error;
-pub fn client(url: &str, user: &str, pw: &str) -> Client
-{
+pub fn client(url: &str, user: &str, pw: &str) -> Client {
Client::new(url, user, pw)
}