diff options
| author | LingMan <LingMan@users.noreply.github.com> | 2021-01-17 02:07:37 +0100 |
|---|---|---|
| committer | LingMan <LingMan@users.noreply.github.com> | 2021-01-17 02:07:37 +0100 |
| commit | 0a74e17211b9ba95555790be3a0a16a562d74280 (patch) | |
| tree | 5100575a4a47ef62023e3ac255361720af201af5 /tests/mir-opt/lower_array_len.array_bound.NormalizeArrayLen.panic-abort.diff | |
| parent | efdb859dcdf7077cf6b8c85af0ea8820c93bcbdf (diff) | |
| download | rust-0a74e17211b9ba95555790be3a0a16a562d74280.tar.gz rust-0a74e17211b9ba95555790be3a0a16a562d74280.zip | |
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-abort.diff')
0 files changed, 0 insertions, 0 deletions
