Remove unnecessary pub qualifier in forms example.

This commit is contained in:
Sergio Benitez 2017-02-16 18:30:44 -08:00
parent 3e063af965
commit 0acfea9c71
1 changed files with 1 additions and 1 deletions

View File

@ -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])
}