diff options
| author | Josh Triplett <josh@joshtriplett.org> | 2023-06-21 16:18:52 -0700 |
|---|---|---|
| committer | Josh Triplett <josh@joshtriplett.org> | 2023-06-21 16:18:52 -0700 |
| commit | b551730cd6be9c46d795d9b12a5f932ff2374eca (patch) | |
| tree | c81053a0fdd7bf9655bce9f58e6ae8ff46fcedd1 /tests/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs | |
| parent | 065a1f5df9c2f1d93269e4d25a2acabbddb0db8d (diff) | |
| download | rust-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
