Fixed examples
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@
|
||||
//! 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(())
|
||||
//! # }
|
||||
//! ```
|
||||
|
||||
+1
-1
@@ -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(())
|
||||
/// # }
|
||||
/// ```
|
||||
|
||||
Reference in New Issue
Block a user