rust/crates/syntax/test_data/parser/ok/0030_traits.rs
2020-08-12 18:30:53 +02:00

8 lines
96 B
Rust

trait Runnable {
fn handler();
}
trait TraitWithExpr {
fn fn_with_expr(x: [i32; 1]);
}