diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-01-03 23:50:19 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-01-03 23:50:19 +0100 |
commit | fa6296ce5f0b0309c86acf8dabe536f53cce0387 (patch) | |
tree | 537fccd76864f0440c492d654bad9efd784b8756 /src/item.rs | |
parent | 970df3ea4169eb2fe935a0f50012503079b8636d (diff) | |
download | rust-zotapi-fa6296ce5f0b0309c86acf8dabe536f53cce0387.tar.gz rust-zotapi-fa6296ce5f0b0309c86acf8dabe536f53cce0387.tar.bz2 rust-zotapi-fa6296ce5f0b0309c86acf8dabe536f53cce0387.zip |
Move client constructor fn to submodule.
Diffstat (limited to 'src/item.rs')
-rw-r--r-- | src/item.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/item.rs b/src/item.rs index 52492aa..846c674 100644 --- a/src/item.rs +++ b/src/item.rs @@ -74,7 +74,7 @@ fn convert_itemdata_list_with_one_member_to_a_string() { /// Typical usage: /// /// ```no_run -/// let client = zotapi::Client::new("https://myhub.com", "mychannel", "mypw"); +/// let client = zotapi::client("https://myhub.com", "mychannel", "mypw"); /// let new_post = zotapi::item() /// .title("A title") /// .body("The body of the post") |