about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorPeter Hall <peterjoel@gmail.com>2018-10-21 18:53:09 +0100
committerGitHub <noreply@github.com>2018-10-21 18:53:09 +0100
commit0f6e2741f692add6d1995b630e2073d18aa2b2ba (patch)
tree2c193d8a68451c928eecdbf71e05eafc61139439 /src/test/debuginfo/enum-thinlto.rs
parentef9781358daa0a70bdaf11c9f792210ea30dd396 (diff)
downloadrust-0f6e2741f692add6d1995b630e2073d18aa2b2ba.tar.gz
rust-0f6e2741f692add6d1995b630e2073d18aa2b2ba.zip
Clarified code example
The example was not as clear as it could be because it was making an assumption about the structure of the data in order to multiply the number of collection elements by the item size. This change demonstrates the idea more straightforwardly, without the calculation.
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions