Rocket/core/codegen/tests/ui/data-without-post.rs

10 lines
189 B
Rust

#![feature(plugin, decl_macro)]
#![plugin(rocket_codegen)]
extern crate rocket;
#[get("/", data = "<something>")]
fn get(something: rocket::Data) -> &'static str { "hi" }
fn main() { }