about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2023-06-21 16:18:52 -0700
committerJosh Triplett <josh@joshtriplett.org>2023-06-21 16:18:52 -0700
commitb551730cd6be9c46d795d9b12a5f932ff2374eca (patch)
treec81053a0fdd7bf9655bce9f58e6ae8ff46fcedd1 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parent065a1f5df9c2f1d93269e4d25a2acabbddb0db8d (diff)
downloadrust-b551730cd6be9c46d795d9b12a5f932ff2374eca.tar.gz
rust-b551730cd6be9c46d795d9b12a5f932ff2374eca.zip
style-guide: Rewrite let-else section for clarity, without changing formatting
The section as written did not cover all cases, and left some of them
implicit. Rewrite it to systematically cover all cases. Place examples
immediately following the corresponding case.

In the process, reorder to move the simplest cases first: start with
single-line and add progressively more line breaks.

This does not change the meaning of the section at all, and in
particular does not change the defined style for let-else statements.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions