diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-12-11 16:02:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-11 16:02:45 +0100 |
| commit | 1de7815ebb9a001a07625b4bff7518b057b1ac22 (patch) | |
| tree | 4ac4912b5b8024fcd22f756a7a9fcf9c7b851084 /compiler/rustc_codegen_llvm/src | |
| parent | b9a37ad0d995c71518629b032f8e816e1efa8bca (diff) | |
| parent | 769a70726963647c2be6b5a470547bf74088bcbe (diff) | |
| download | rust-1de7815ebb9a001a07625b4bff7518b057b1ac22.tar.gz rust-1de7815ebb9a001a07625b4bff7518b057b1ac22.zip | |
Rollup merge of #91617 - nnethercote:improve-List-readability, r=lcnr
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. r? ````@lcnr````
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
