about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/graph.rs
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2023-06-28 18:08:54 -0700
committerJosh Triplett <josh@joshtriplett.org>2023-06-28 18:08:54 -0700
commit03e64f409f6aea697e43e3985353d7796cd102f2 (patch)
tree45c4583a9643075492ff682f53d28fce462aa83f /compiler/rustc_mir_transform/src/coverage/graph.rs
parenteb76764ea412b36f670564f5d58c317cec8fa496 (diff)
downloadrust-03e64f409f6aea697e43e3985353d7796cd102f2.tar.gz
rust-03e64f409f6aea697e43e3985353d7796cd102f2.zip
style-guide: Document newline rules for assignment operators
The style guide gives general rules for binary operators including
assignment, and one of those rules says to put the operator on the
subsequent line; the style guide needs to explicitly state the exception
of breaking *after* assignment operators rather than before.

This is already what rustfmt does and what users do; this fixes the
style guide to match the expected default style.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions