From 9d0221d9a960c02f5974e98b0722a4709a5abf62 Mon Sep 17 00:00:00 2001 From: daladim Date: Sat, 20 Feb 2021 17:58:46 +0100 Subject: [PATCH] [doc] --- src/data/client.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/data/client.rs b/src/data/client.rs index ad04616..7e6cee9 100644 --- a/src/data/client.rs +++ b/src/data/client.rs @@ -46,6 +46,7 @@ pub struct Client { } impl Client { + /// Create a client. This does not start a connection pub fn new, T: ToString, U: ToString>(url: S, username: T, password: U) -> Result> { let url = Url::parse(url.as_ref())?;