summaryrefslogtreecommitdiffstats
path: root/src/registration.rs
diff options
context:
space:
mode:
authorAaron Power <theaaronepower@gmail.com>2018-03-02 20:27:32 +0000
committerAaron Power <theaaronepower@gmail.com>2018-03-02 20:27:32 +0000
commit75eea8802328f00893560037f41428fb8086a346 (patch)
treec8d977005e4fdf562f8433d13c25851bd7fcf765 /src/registration.rs
parent5ac40cd682e1675c70c42f27cb30d2d1c397f5a2 (diff)
Fixed examples
Diffstat (limited to 'src/registration.rs')
-rw-r--r--src/registration.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/registration.rs b/src/registration.rs
index 3f3a8ea..dbca493 100644
--- a/src/registration.rs
+++ b/src/registration.rs
@@ -68,7 +68,7 @@ impl Registration {
/// let code = String::from("RETURNED_FROM_BROWSER");
/// let mastodon = registration.create_access_token(code)?;
///
- /// println!("{:?}", mastodon.get_home_timeline()?);
+ /// println!("{:?}", mastodon.get_home_timeline()?.initial_items);
/// # Ok(())
/// # }
/// ```