diff options
author | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2020-02-07 19:00:15 -0500 |
---|---|---|
committer | Kjetil Orbekk <kjetil.orbekk@gmail.com> | 2020-02-07 19:00:15 -0500 |
commit | 8d4d29a3c25063d71c561f30ccc1c31ab85d2bc7 (patch) | |
tree | 11e435ef7eccee70be0c3ffd370e02a89da61c6d /src/main.rs | |
parent | d69c7e12c721898f597e8a7c78f42db6fc02e07b (diff) |
Add test template for "run"
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 1 insertions, 3 deletions
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(); |