diff --git a/examples/rocket/src/main.rs b/examples/rocket/src/main.rs index 7770874..b3d089f 100644 --- a/examples/rocket/src/main.rs +++ b/examples/rocket/src/main.rs @@ -9,9 +9,9 @@ use rocket::config::{Config, Environment}; config! { ROCKET { - HOST: String => "localhost".to_string(), + HOST: String => "localhost", PORT: u16 => 9000, - BASE_URL: String => "/".to_string(), + BASE_URL: String => "/", } }