diff options
author | Scott Boggs <scott@tams.tech> | 2022-12-23 12:28:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-23 12:28:35 -0500 |
commit | 62dee5295e213dafa460257d402a622640b1faaa (patch) | |
tree | af7c1e26db11bfb8aa3c9b962d22e9d92ba0bacc /src/scopes.rs | |
parent | 6fb63800d79ed06b0b0411eabde4d618f31092d2 (diff) | |
parent | ca7777c2f835b6437a891d6bf821b490df7678c8 (diff) |
Merge pull request #2 from dscottboggs/fix/examplesv1.0.0
Pre-release tasks
- chang the name of the project from elefren to mastodon-async
- fix and updates some documentation
- fix the examples
Diffstat (limited to 'src/scopes.rs')
-rw-r--r-- | src/scopes.rs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/scopes.rs b/src/scopes.rs index 3bda9a9..e7ff960 100644 --- a/src/scopes.rs +++ b/src/scopes.rs @@ -20,7 +20,7 @@ use serde::{ /// // Example /// /// ```rust -/// use elefren::prelude::*; +/// use mastodon_async::prelude::*; /// /// let read = Scopes::read_all(); /// let write = Scopes::write_all(); @@ -87,7 +87,7 @@ impl Scopes { /// Represents all available oauth scopes: "read write follow push" /// /// ``` - /// use elefren::scopes::Scopes; + /// use mastodon_async::scopes::Scopes; /// /// let scope = Scopes::all(); /// assert_eq!(&format!("{}", scope), "read write follow push"); @@ -99,7 +99,7 @@ impl Scopes { /// Represents the full "read" scope /// /// ``` - /// use elefren::scopes::Scopes; + /// use mastodon_async::scopes::Scopes; /// /// let scope = Scopes::read_all(); /// assert_eq!(&format!("{}", scope), "read"); @@ -111,7 +111,7 @@ impl Scopes { /// Represents a specific "read:___" scope /// /// ``` - /// use elefren::scopes::{Read, Scopes}; + /// use mastodon_async::scopes::{Read, Scopes}; /// /// let scope = Scopes::read(Read::Accounts); /// assert_eq!(&format!("{}", scope), "read:accounts"); @@ -123,7 +123,7 @@ impl Scopes { /// Represents the full "write" scope /// /// ``` - /// use elefren::scopes::Scopes; + /// use mastodon_async::scopes::Scopes; /// /// let scope = Scopes::write_all(); /// assert_eq!(&format!("{}", scope), "write"); @@ -135,7 +135,7 @@ impl Scopes { /// Represents a specific "write:___" scope /// /// ``` - /// use elefren::scopes::{Scopes, Write}; + /// use mastodon_async::scopes::{Scopes, Write}; /// /// let scope = Scopes::write(Write::Accounts); /// assert_eq!(&format!("{}", scope), "write:accounts"); @@ -147,7 +147,7 @@ impl Scopes { /// Represents the "follow" scope /// /// ``` - /// use elefren::scopes::Scopes; + /// use mastodon_async::scopes::Scopes; /// /// let scope = Scopes::follow(); /// assert_eq!(&format!("{}", scope), "follow"); @@ -159,7 +159,7 @@ impl Scopes { /// Represents the full "push" scope /// /// ``` - /// use elefren::scopes::Scopes; + /// use mastodon_async::scopes::Scopes; /// /// let scope = Scopes::push(); /// assert_eq!(&format!("{}", scope), "push"); @@ -173,7 +173,7 @@ impl Scopes { /// // Example /// /// ```rust - /// use elefren::prelude::*; + /// use mastodon_async::prelude::*; /// /// let read = Scopes::read_all(); /// let write = Scopes::write_all(); |