rust/crates/syntax/test_data/parser/ok/0030_traits.rs

8 lines
96 B
Rust
Raw Normal View History

2018-08-13 10:23:14 -05:00
trait Runnable {
fn handler();
}
trait TraitWithExpr {
fn fn_with_expr(x: [i32; 1]);
}