Skip to content

Commit 26a665c

Browse files
euankwing328
authored andcommitted
[Rust] Recommend style based on 'rustfmt' defaults (#7335)
Rustfmt is widely accepted in the rust community. The actual style it enforces is not completely stable, but running a reasonably recent rustfmt and reading the short rfc-based style guide seems better than nothing by a long shot.
1 parent d974596 commit 26a665c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ Code change should conform to the programming style guide of the respective lang
5858
- Python: https://www.python.org/dev/peps/pep-0008/
5959
- R: https://google.github.io/styleguide/Rguide.xml
6060
- Ruby: https://github.com/bbatsov/ruby-style-guide
61+
- Rust: https://github.com/rust-lang-nursery/fmt-rfcs/blob/master/guide/guide.md (the default [rustfmt](https://github.com/rust-lang-nursery/rustfmt) configuration)
6162
- Scala: http://docs.scala-lang.org/style/
6263
- Swift: [Apple Developer](https://developer.apple.com/library/prerelease/ios/documentation/Swift/Conceptual/Swift_Programming_Language/TheBasics.html)
6364
- TypeScript: https://github.com/Microsoft/TypeScript/wiki/Coding-guidelines

0 commit comments

Comments
 (0)