Add rust-mode to your emacs config file to get syntax and indentation correct Rust-mode on GH - github.com/rust-lang/rust-mode