From 8d4d29a3c25063d71c561f30ccc1c31ab85d2bc7 Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Fri, 7 Feb 2020 19:00:15 -0500 Subject: Add test template for "run" --- src/main.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index cf0d308..ec0e660 100644 --- a/src/main.rs +++ b/src/main.rs @@ -135,9 +135,7 @@ fn main() { .value_of("base_url") .unwrap_or("http://localhost:8000"); - let static_path = matches - .value_of("static_path") - .unwrap_or("./static"); + let static_path = matches.value_of("static_path").unwrap_or("./static"); let db_url = matches.value_of("database_url").unwrap(); let conn = PgConnection::establish(db_url).unwrap(); -- cgit v1.2.3