From b5e75dd418c62a179325426433a0fae698ad775c Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Mon, 20 Jan 2020 19:33:04 -0500 Subject: removed extraneous newline on post display --- src/posts.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/posts.rs') 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 )); } -- cgit 1.4.1-2-gfad0