diff --git a/examples/forms/src/main.rs b/examples/forms/src/main.rs index bacc7bfa..0f2608cd 100644 --- a/examples/forms/src/main.rs +++ b/examples/forms/src/main.rs @@ -42,7 +42,7 @@ fn user_page(username: &str) -> String { format!("This is {}'s page.", username) } -pub fn rocket() -> rocket::Rocket { +fn rocket() -> rocket::Rocket { rocket::ignite() .mount("/", routes![files::index, files::files, user_page, login]) }