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())?;