summaryrefslogtreecommitdiffstats
path: root/src/registration.rs
diff options
context:
space:
mode:
authorPaul Woolcock <paul@woolcock.us>2018-08-25 14:08:12 -0400
committerPaul Woolcock <paul@woolcock.us>2018-08-26 08:41:19 -0400
commita407249fa5ff2dd84744a01c4b00d0adddaa07f9 (patch)
tree2e4fc90c21e77c312a93ff0feede9fcb113434c9 /src/registration.rs
parent272b17190ff40b5c80abefc5316a696cc4dda623 (diff)
Remove `elefren::apps::prelude`
Since we don't need `App` in a prelude anymore, just move `Registration` and `Scopes` to the main prelude and get rid of `elefren::apps::prelude`
Diffstat (limited to 'src/registration.rs')
-rw-r--r--src/registration.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/registration.rs b/src/registration.rs
index 066e41d..9bc92af 100644
--- a/src/registration.rs
+++ b/src/registration.rs
@@ -38,7 +38,7 @@ struct AccessToken {
impl<'a> Registration<'a, HttpSender> {
/// Construct a new registration process to the instance of the `base` url.
/// ```
- /// use elefren::apps::prelude::*;
+ /// use elefren::prelude::*;
///
/// let registration = Registration::new("https://mastodon.social");
/// ```
@@ -92,7 +92,7 @@ impl<'a, H: HttpSend> Registration<'a, H> {
/// ```no_run
/// # extern crate elefren;
/// # fn main () -> elefren::Result<()> {
- /// use elefren::{apps::prelude::*, prelude::*};
+ /// use elefren::prelude::*;
///
/// let registration = Registration::new("https://mastodon.social")
/// .client_name("elefren_test")