aboutsummaryrefslogtreecommitdiffstats
path: root/src/item.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/item.rs')
-rw-r--r--src/item.rs2
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")