diff options
| author | Ashley Mannix <kodraus@hey.com> | 2021-01-18 21:53:28 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-18 21:53:28 +1000 |
| commit | b4defec768e179f0cf3e83faaa5b1c4dac9e050a (patch) | |
| tree | 2f97a0b5f89983c3100289c524ea65805b33a60b /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff | |
| parent | d3ff9ac8e8899f06a32e85d9d1a8ec7b2abd6765 (diff) | |
| parent | 0a74e17211b9ba95555790be3a0a16a562d74280 (diff) | |
| download | rust-b4defec768e179f0cf3e83faaa5b1c4dac9e050a.tar.gz rust-b4defec768e179f0cf3e83faaa5b1c4dac9e050a.zip | |
Rollup merge of #81105 - LingMan:init_directly, r=nagisa
Initialize a few variables directly Currently they are declared as `mut`, get initialized to a default value, and then possibly overwritten. By initializing to the final value directly, they don't need to be `mut` and it's clear that they don't get mutated elsewhere later on.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
