summaryrefslogtreecommitdiffstats
path: root/src/registration.rs
diff options
context:
space:
mode:
authorPaul Woolcock <paul@woolcock.us>2018-08-21 17:01:05 -0400
committerPaul Woolcock <paul@woolcock.us>2018-08-21 17:01:05 -0400
commita9b6b528906c51c947101a9d6c0ee50a76ef2050 (patch)
tree24694725b35b441f193fa22ce386a33eff912a34 /src/registration.rs
parentecb8629a53172d7859b76b5a4e7145c3becb2988 (diff)
Change mammut references to elefren
Diffstat (limited to 'src/registration.rs')
-rw-r--r--src/registration.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/registration.rs b/src/registration.rs
index b977dcf..baceed3 100644
--- a/src/registration.rs
+++ b/src/registration.rs
@@ -29,7 +29,7 @@ struct AccessToken {
impl Registration {
/// Construct a new registration process to the instance of the `base` url.
/// ```
- /// use mammut::registration::Registration;
+ /// use elefren::registration::Registration;
///
/// let registration = Registration::new("https://mastodon.social");
/// ```
@@ -47,16 +47,16 @@ impl Registration {
/// Register the application with the server from the `base` url.
///
/// ```no_run
- /// # extern crate mammut;
+ /// # extern crate elefren;
/// # fn main() {
/// # try().unwrap();
/// # }
- /// # fn try() -> mammut::Result<()> {
- /// use mammut::{MastodonClient, Registration};
- /// use mammut::apps::{AppBuilder, Scopes};
+ /// # fn try() -> elefren::Result<()> {
+ /// use elefren::{MastodonClient, Registration};
+ /// use elefren::apps::{AppBuilder, Scopes};
///
/// let app = AppBuilder {
- /// client_name: "mammut_test",
+ /// client_name: "elefren_test",
/// redirect_uris: "urn:ietf:wg:oauth:2.0:oob",
/// scopes: Scopes::Read,
/// website: None,