Fix README example for latest changes.

This commit is contained in:
Sergio Benitez 2016-10-03 19:49:12 -07:00
parent 4b6c72e33f
commit 418f80177c
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ fn hello(name: &str, age: u8) -> String {
}
fn main() {
rocket::ignite().mount_and_launch("/hello", routes![hello]);
rocket::ignite().mount("/hello", routes![hello]).launch();
}
```