Builtin: fn f<T>(x: T) -> () { () }?

Is there a builtin

fn f<T>(x: T) -> ()
{ 
  ()
}

The goal is, for one liners on match arms, to be able to write f(...) instead of

{
  ...;
}

drop

4 Likes