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.
On Wed, Jan 23, 2013 at 8:16 AM, Sanghyeon Seo <[email protected]> wrote: > Rust compiler seems to use 4 spaces indentation, but indentation of > "match" is mixed. > Sometimes arms are indented 2 spaces, sometimes 4 spaces. > > Is there a hidden rule behind this, or is it a personal preference? > _______________________________________________ > Rust-dev mailing list > [email protected] > https://mail.mozilla.org/listinfo/rust-dev >
_______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
