diff options
author | Ben Morrison <ben@gbmor.dev> | 2020-01-20 19:33:04 -0500 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2020-01-20 19:33:04 -0500 |
commit | b5e75dd418c62a179325426433a0fae698ad775c (patch) | |
tree | c352a67006d7ae3f53484f3e545ce8d10401fe0b /src | |
parent | dbb17e1e3ed0e68aeb379eed63a83472a7b13cc4 (diff) | |
download | clinte-b5e75dd418c62a179325426433a0fae698ad775c.tar.gz |
removed extraneous newline on post display
Diffstat (limited to 'src')
-rw-r--r-- | src/posts.rs | 2 |
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 )); } |