Rocket/codegen/tests/run-pass/empty-fn.rs

13 lines
164 B
Rust
Raw Normal View History

#![feature(plugin)]
2016-09-09 03:38:58 +00:00
#![plugin(rocket_codegen)]
extern crate rocket;
#[get("/")]
fn get() -> &'static str { "hi" }
#[get("/")]
fn get_empty() { }
fn main() { }