Rocket/codegen/tests/empty-fn.rs

14 lines
184 B
Rust
Raw Normal View History

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