about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-06-24 20:26:44 +0200
committerGitHub <noreply@github.com>2023-06-24 20:26:44 +0200
commit6d3d775dc61cf6a632e9350453c2c96b19990f5d (patch)
treebaacd58e523f4577fc754509ba3e55ade6e814bc /tests/codegen/src-hash-algorithm
parenta1f2f23f0fbb6d90c50fd966a8cf8126f1beb73b (diff)
parentb551730cd6be9c46d795d9b12a5f932ff2374eca (diff)
downloadrust-6d3d775dc61cf6a632e9350453c2c96b19990f5d.tar.gz
rust-6d3d775dc61cf6a632e9350453c2c96b19990f5d.zip
Rollup merge of #112912 - joshtriplett:style-let-else-clarifications, r=calebcartwright
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')
0 files changed, 0 insertions, 0 deletions