diff options
author | Paul Woolcock <paul@woolcock.us> | 2018-08-27 16:06:00 -0400 |
---|---|---|
committer | Paul Woolcock <paul@woolcock.us> | 2018-08-27 19:28:33 -0400 |
commit | 0df3f9fa2b0e48a288c54dcc67c364ec9a454a95 (patch) | |
tree | a29f2bea8d3cad0a2f07cfae6173fbcba8e5f6a4 /README.md | |
parent | 39e5aacfb58290c2ca21f3204f61df8d45df5130 (diff) |
Rework the `Registration` and `App` APIs
This puts `register` back to the way it was, and changes the "new"
`register` to `build`.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -58,7 +58,7 @@ fn main() -> Result<(), Box<Error>> { fn register() -> Result<Mastodon, Box<Error>> { let registration = Registration::new("https://mastodon.social") .client_name("elefren-examples") - .register()?; + .build()?; let url = registration.authorize_url()?; println!("Click this link to authorize on Mastodon: {}", url); |