On 1/23/13 7:04 AM, Benjamin Striegel wrote:
A long time ago, the Rust mode for Emacs would indent match arms by two
spaces, so any two-space match arms are a remnant of that time. I
believe the current convention is to use four spaces for match arms.

This is correct. We used to half-indent match arms, but it looked bad, so we went to a full indent for them. Unfortunately not all the code has been updated.

Someday we should fix the rough edges in the pretty printer, close the tree for a day, and tidy up the entire Rust codebase.

Patrick

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to