[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #23351 [Core Tor/Tor]: Create a rustfmt.toml defining our whitespace/formatting standards



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs