Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upDecrease line lengths by one #12
Conversation
This comment has been minimized.
This comment has been minimized.
|
Isn't the general Rust convention "hard limit at 120 columns; soft limit at
|
This comment has been minimized.
This comment has been minimized.
|
Er nvm - reading the commit details I see there's a hard limit at ~100, |
This comment has been minimized.
This comment has been minimized.
|
Thanks @chris-morgan. As a heads up, discussion with the core team suggests that the soft limit/hard limit setup here is probably going away, in favor of something like a fixed 99 character limit. If you change this to just state a 99 character limit, I'll merge it :-) |
chris-morgan commentedJul 4, 2014
Although people speak of 80, 79 is actually the number they mean, because terminals will tend to need an extra, blank line if you write 80-character-wide lines.
These changes are in line with PEP 8’s recommendations:
(We can deal with its docstrings 72 characters at another time; the wisdom of it is much more debatable.