[tor-bugs] #27071 [Core Tor/Tor]: Stop using max_width=80 for rustfmt

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Aug 7 23:58:52 UTC 2018


#27071: Stop using max_width=80 for rustfmt
------------------------------+--------------------------------
     Reporter:  teor          |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Medium        |  Milestone:  Tor: 0.3.5.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:  rust
Actual Points:                |  Parent ID:  #26972
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 We have two options:
 * use max_width=79 to match our C coding standards
 * use the default max_width=100 to match the Rust defaults and avoid
 wrapping bugs in rustfmt

 For details, see:
 https://trac.torproject.org/projects/tor/ticket/26972#comment:2
 https://trac.torproject.org/projects/tor/ticket/26972#comment:3

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27071>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list