about summary refs log tree commit diff
path: root/src/database/mod.rs
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2021-07-29 18:14:30 +0300
committerVika <vika@fireburn.ru>2021-07-29 18:14:30 +0300
commit949a961c19ba994c3f0846e7b54d9a55a94d7b9a (patch)
treeb9d2031e1b08dcebf8f22c6051dea4da6e4f40ab /src/database/mod.rs
parentbd38e2f19b8c2c353ad759c1631b93b0f8eafbb0 (diff)
Appease rustfmt, clippy and cargo check
Diffstat (limited to 'src/database/mod.rs')
-rw-r--r--src/database/mod.rs10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/database/mod.rs b/src/database/mod.rs
index e0e4e7b..27c0025 100644
--- a/src/database/mod.rs
+++ b/src/database/mod.rs
@@ -198,7 +198,10 @@ mod tests {
         let alt_url = post["properties"]["url"][1].as_str().unwrap().to_string();
 
         // Reading and writing
-        backend.put_post(&post, "https://fireburn.ru/").await.unwrap();
+        backend
+            .put_post(&post, "https://fireburn.ru/")
+            .await
+            .unwrap();
         if let Ok(Some(returned_post)) = backend.get_post(&key).await {
             assert!(returned_post.is_object());
             assert_eq!(
@@ -254,7 +257,10 @@ mod tests {
             },
             "children": []
         });
-        backend.put_post(&feed, "https://fireburn.ru/").await.unwrap();
+        backend
+            .put_post(&feed, "https://fireburn.ru/")
+            .await
+            .unwrap();
         let chans = backend
             .get_channels(&crate::indieauth::User::new(
                 "https://fireburn.ru/",