From f92b7c0c8cfbb7c39e169c3b54cec286648826d8 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Tue, 7 Jan 2020 17:20:58 +0300 Subject: [PATCH] chore: update rocket example --- examples/rocket/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 => "/", } }