master
Paul Woolcock 6 years ago
parent 664cb2797f
commit d14d50070e
  1. 2
      src/entities/itemsiter.rs

@ -16,7 +16,7 @@ use serde::Deserialize;
/// # token: "".into(), /// # token: "".into(),
/// # }; /// # };
/// let client = Mastodon::from_data(data); /// let client = Mastodon::from_data(data);
/// let statuses = client.statuses("user-id", false, false)?; /// let statuses = client.statuses("user-id", None)?;
/// for status in statuses.items_iter() { /// for status in statuses.items_iter() {
/// // do something with `status` /// // do something with `status`
/// } /// }

Loading…
Cancel
Save