[tor-bugs] #23351 [Core Tor/Tor]: Create a rustfmt.toml defining our whitespace/formatting standards
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Aug 28 21:40:52 UTC 2017
#23351: Create a rustfmt.toml defining our whitespace/formatting standards
------------------------------+-----------------------------
Reporter: isis | Owner: (none)
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: rust rust-pilot
Actual Points: | Parent ID: #22156
Points: 1 | Reviewer:
Sponsor: |
------------------------------+-----------------------------
We currently have no style consensus for Rust code. It would be good to
agree on something! We could agree on whatever the Rust people like (still
a WIP last I checked) or we could modify that by creating a
[https://github.com/rust-lang-nursery/rustfmt `rustfmt.toml`].
We should also probably add a pre-commit hook for running rustfmt, since
we have a pretty clean slate and we should keep it clean. :)
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23351>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list