about summary refs log tree commit diff
path: root/templates-neo/src/main.rs
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-03-25 03:31:48 +0300
committerVika <vika@fireburn.ru>2024-06-14 22:21:26 +0300
commit1e815637e3e15c7eb81b45b51b40253f3ec57ebb (patch)
tree3ee9f23007e35c7aac1e99ccb97c70b1584366ed /templates-neo/src/main.rs
parent6c280c3d6760621f8b50e56cf477f9286d35ffce (diff)
kittybox-html: cargo fmt
Diffstat (limited to 'templates-neo/src/main.rs')
-rw-r--r--templates-neo/src/main.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/templates-neo/src/main.rs b/templates-neo/src/main.rs
index 54afbb8..d2c7ea9 100644
--- a/templates-neo/src/main.rs
+++ b/templates-neo/src/main.rs
@@ -2,7 +2,6 @@ use std::io::Write;
 
 use kittybox_html::mf2::Entry;
 
-
 fn main() {
     let mf2 = serde_json::from_reader::<_, microformats::types::Item>(std::io::stdin()).unwrap();
     let entry = Entry::try_from(mf2).unwrap();
@@ -11,6 +10,8 @@ fn main() {
     entry.build(&mut article);
 
     let mut stdout = std::io::stdout().lock();
-    stdout.write_all(article.build().to_string().as_bytes()).unwrap();
+    stdout
+        .write_all(article.build().to_string().as_bytes())
+        .unwrap();
     stdout.write_all(b"\n").unwrap();
-}
\ No newline at end of file
+}