about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2021-12-07 13:29:20 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2021-12-09 15:20:58 +1100
commit769a70726963647c2be6b5a470547bf74088bcbe (patch)
tree2f98dc293c3f79ef420ba820af7c320dbba27f98 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent772d51f887fa407216860bf8ecf3f1a32fb795b4 (diff)
downloadrust-769a70726963647c2be6b5a470547bf74088bcbe.tar.gz
rust-769a70726963647c2be6b5a470547bf74088bcbe.zip
Improve the readability of `List<T>`.
This commit does the following.
- Expands on some of the things already mentioned in comments.
- Describes the uniqueness assumption, which is critical but wasn't
  mentioned at all.
- Rewrites `empty()` into a clearer form, as provided by Daniel
  Henry-Mantilla on Zulip.
- Reorders things slightly so that more important things
  are higher up, and incidental things are lower down, which makes
  reading the code easier.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions