diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-08-27 23:37:45 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-08-27 23:37:45 -0400 |
commit | d9d59013c3c32810c2484c69f31d82c0ee0551f9 (patch) | |
tree | 33b1f5d9f4f35192b88d6dde7dd2acda9413d6a1 /src/main.rs | |
parent | 05649a5b2c4a122cfb1644f009825abfc7345d72 (diff) | |
download | clinte-d9d59013c3c32810c2484c69f31d82c0ee0551f9.tar.gz |
minor syntax error
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 1b64c84..8b00642 100644 --- a/src/main.rs +++ b/src/main.rs @@ -92,7 +92,7 @@ fn post(db: &db::Conn) { &title[..30] } else { &title - } + }; println!(); println!("Body of the new post: "); @@ -103,7 +103,7 @@ fn post(db: &db::Conn) { &body[..500] } else { &body - } + }; let user = users::get_current_username() .unwrap() |