summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorD. Scott Boggs <scott@tams.tech>2023-03-24 06:59:16 -0400
committerD. Scott Boggs <scott@tams.tech>2023-09-01 07:50:40 -0400
commit915d28ba29efc3161c4882abf87161c95a95c209 (patch)
treece869d1723b2f69c10b6115cceef3e37c5b3dc58
parent3a0b33f5fded170963b0f0f65c5bc6a7de1ba2be (diff)
fixes
-rw-r--r--entities/src/account.rs2
-rw-r--r--entities/src/forms/application.rs8
-rw-r--r--entities/src/lib.rs2
-rw-r--r--src/registration.rs6
4 files changed, 9 insertions, 9 deletions
diff --git a/entities/src/account.rs b/entities/src/account.rs
index 0268ac6..45374af 100644
--- a/entities/src/account.rs
+++ b/entities/src/account.rs
@@ -606,7 +606,7 @@ mod tests {
"locked": false,
"bot": false,
"created_at": "2017-02-08T02:00:53.274Z",
- "note": "<p>:ms_rainbow_flag:​ :ms_bisexual_flagweb:​ :ms_nonbinary_flag:​ <a href=\"https://awoo.space/tags/awoo\" class=\"mention hashtag\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">#<span>awoo</span}.space <a href=\"https://awoo.space/tags/admin\" class=\"mention hashtag\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">#<span>admin</span} ~ <a href=\"https://awoo.space/tags/bi\" class=\"mention hashtag\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">#<span>bi</span} ~ <a href=\"https://awoo.space/tags/nonbinary\" class=\"mention hashtag\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">#<span>nonbinary</span} ~ compsci student ~ likes video <a href=\"https://awoo.space/tags/games\" class=\"mention hashtag\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">#<span>games</span} and weird/ old electronics and will post obsessively about both ~ avatar by <span class=\"h-card\"><a href=\"https://weirder.earth/@dzuk\" class=\"u-url mention\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">@<span>dzuk</span}</span></p>",
+ "note": "<p>:ms_rainbow_flag: :ms_bisexual_flagweb: :ms_nonbinary_flag: <a href=\"https://awoo.space/tags/awoo\" class=\"mention hashtag\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">#<span>awoo</span}.space <a href=\"https://awoo.space/tags/admin\" class=\"mention hashtag\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">#<span>admin</span} ~ <a href=\"https://awoo.space/tags/bi\" class=\"mention hashtag\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">#<span>bi</span} ~ <a href=\"https://awoo.space/tags/nonbinary\" class=\"mention hashtag\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">#<span>nonbinary</span} ~ compsci student ~ likes video <a href=\"https://awoo.space/tags/games\" class=\"mention hashtag\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">#<span>games</span} and weird/ old electronics and will post obsessively about both ~ avatar by <span class=\"h-card\"><a href=\"https://weirder.earth/@dzuk\" class=\"u-url mention\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">@<span>dzuk</span}</span></p>",
"url": "https://awoo.space/@noiob",
"avatar": "https://files.mastodon.social/accounts/avatars/000/023/634/original/6ca8804dc46800ad.png",
"avatar_static": "https://files.mastodon.social/accounts/avatars/000/023/634/original/6ca8804dc46800ad.png",
diff --git a/entities/src/forms/application.rs b/entities/src/forms/application.rs
index 21c0d83..b47a701 100644
--- a/entities/src/forms/application.rs
+++ b/entities/src/forms/application.rs
@@ -29,9 +29,9 @@ impl Application {
/// // Example
///
/// ```
- /// use mastodon_async::apps::App;
+ /// use mastodon_async_entities::prelude::*;
///
- /// let mut builder = App::builder();
+ /// let mut builder = forms::Application::builder();
/// ```
pub fn builder() -> ApplicationBuilder {
ApplicationBuilder::default()
@@ -42,9 +42,9 @@ impl Application {
/// // Example
///
/// ```
- /// use mastodon_async::{apps::App, prelude::*};
+ /// use mastodon_async_entities::prelude::*;
///
- /// let mut builder = App::builder();
+ /// let mut builder = forms::Application::builder();
/// builder.client_name("mastodon-async-test");
/// let app = builder.build().unwrap();
/// let scopes = app.scopes();
diff --git a/entities/src/lib.rs b/entities/src/lib.rs
index 2bbc0a4..80693ea 100644
--- a/entities/src/lib.rs
+++ b/entities/src/lib.rs
@@ -87,7 +87,7 @@ pub mod prelude {
self, /* for FocalPoint, SizeSpecificDetails, Meta */
Attachment, MediaType, ProcessedAttachment,
},
- auth::prelude::*,
+ auth::{self, prelude::*},
card::{self /* for Type */, Card, TrendsLink},
context::Context,
conversation::Conversation,
diff --git a/src/registration.rs b/src/registration.rs
index d1243c9..832edaf 100644
--- a/src/registration.rs
+++ b/src/registration.rs
@@ -79,8 +79,8 @@ impl Registration {
/// Sets the name of this app
///
- /// This is required, and if this isn't set then the forms::ApplicationBuilder::build
- /// method will fail
+ /// This is required, and if this isn't set then the
+ /// [`entities::forms::ApplicationBuilder::build`] method will fail
pub fn client_name(&mut self, name: impl Into<String>) -> &mut Self {
self.app_builder.client_name(name);
self
@@ -116,7 +116,7 @@ impl Registration {
/// Register the given application
///
/// ```no_run
- /// use mastodon_async::{apps::forms::Application, prelude::*};
+ /// use mastodon_async::prelude::*;
///
/// tokio_test::block_on(async {
/// let mut app = forms::Application::builder();