There are several common cases where the emacs mode gets the indentation incorrect. I'll list the examples as I believe they should be formatted.
- One indent after open paren with no argument:
- Align
-> with arguments:
fn a_func_decl(a: int,
b: int)
-> int {
}
- Align field names:
foo(SomeStructName { a: int,
b: int })
foo(SomeStructName {a: int,
b: int})