mirror of https://github.com/rwf2/Rocket.git
Remove unnecessary pub qualifier in forms example.
This commit is contained in:
parent
3e063af965
commit
0acfea9c71
|
@ -42,7 +42,7 @@ fn user_page(username: &str) -> String {
|
||||||
format!("This is {}'s page.", username)
|
format!("This is {}'s page.", username)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn rocket() -> rocket::Rocket {
|
fn rocket() -> rocket::Rocket {
|
||||||
rocket::ignite()
|
rocket::ignite()
|
||||||
.mount("/", routes![files::index, files::files, user_page, login])
|
.mount("/", routes![files::index, files::files, user_page, login])
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue