summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2020-01-20 19:33:04 -0500
committerBen Morrison <ben@gbmor.dev>2020-01-20 19:33:04 -0500
commitb5e75dd418c62a179325426433a0fae698ad775c (patch)
treec352a67006d7ae3f53484f3e545ce8d10401fe0b /src
parentdbb17e1e3ed0e68aeb379eed63a83472a7b13cc4 (diff)
downloadclinte-b5e75dd418c62a179325426433a0fae698ad775c.tar.gz
removed extraneous newline on post display
Diffstat (limited to 'src')
-rw-r--r--src/posts.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/posts.rs b/src/posts.rs
index 2e1772a..efcb574 100644
--- a/src/posts.rs
+++ b/src/posts.rs
@@ -81,7 +81,7 @@ pub fn display(db: &db::Conn) -> error::Result<()> {
     out.for_each(|row| {
         if let Ok(post) = row {
             postvec.push(format!(
-                "{}. {} -> by {}\n{}\n\n",
+                "{}. {} -> by {}\n{}\n",
                 post.id, post.title, post.author, post.body
             ));
         }