#![feature(plugin)] #![plugin(rocket_macros)] extern crate rocket; #[get("/")] fn todo(todo: &str) -> &str { todo } fn main() { let _ = routes![todo]; }