summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorD. Scott Boggs <scott@tams.tech>2023-06-05 07:44:05 -0400
committerD. Scott Boggs <scott@tams.tech>2023-09-01 07:54:19 -0400
commit1efc96b9664b44b121cba32e55494fea706af609 (patch)
tree1bc0812f159fa808be56f91d49298fa6eca80256
parent80d1bbe5727be1c271f81fff31451ce182139c6f (diff)
Formatting fixes
-rw-r--r--src/macros.rs2
-rw-r--r--src/mastodon.rs8
-rw-r--r--src/page.rs2
-rw-r--r--src/registration.rs3
4 files changed, 4 insertions, 11 deletions
diff --git a/src/macros.rs b/src/macros.rs
index 9eea315..5ada453 100644
--- a/src/macros.rs
+++ b/src/macros.rs
@@ -642,4 +642,4 @@ tokio_test::block_on(async {
streaming! { $($rest)* }
};
() => {}
-} \ No newline at end of file
+}
diff --git a/src/mastodon.rs b/src/mastodon.rs
index 6431758..02ede22 100644
--- a/src/mastodon.rs
+++ b/src/mastodon.rs
@@ -2,13 +2,7 @@ use std::{borrow::Cow, ops::Deref, path::Path, sync::Arc};
use crate::{
as_value,
- entities::{
- account::Account,
- prelude::*,
- report::Report,
- status::Status,
- Empty,
- },
+ entities::{account::Account, prelude::*, report::Report, status::Status, Empty},
errors::{Error, Result},
helpers::read_response::read_response,
polling_time::PollingTime,
diff --git a/src/page.rs b/src/page.rs
index ebf759b..be02b5a 100644
--- a/src/page.rs
+++ b/src/page.rs
@@ -208,4 +208,4 @@ fn get_links(response: &Response) -> Result<(Option<Url>, Option<Url>)> {
}
Ok((prev, next))
-} \ No newline at end of file
+}
diff --git a/src/registration.rs b/src/registration.rs
index c7f6d33..cdd7aaa 100644
--- a/src/registration.rs
+++ b/src/registration.rs
@@ -4,9 +4,8 @@ use tracing::{debug, error, trace};
use uuid::Uuid;
use crate::{
- entities::forms, entities::prelude::*, helpers::read_response::read_response, Data,
+ as_value, entities::forms, entities::prelude::*, helpers::read_response::read_response, Data,
Error, Mastodon, Result,
- as_value,
};
const DEFAULT_REDIRECT_URI: &str = "urn:ietf:wg:oauth:2.0:oob";