diff options
| author | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-06-03 15:34:54 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <nnethercote@mozilla.com> | 2019-06-05 07:43:15 +1000 |
| commit | ab9bbf48db3ef8cd83bbcc4dfd40f0308a738cc1 (patch) | |
| tree | 673421cb7edbb6948b0570a9b354753e300d17d2 /src/test | |
| parent | 425736dc976f786ea1da6eb4e18064477f88c5bc (diff) | |
| download | rust-ab9bbf48db3ef8cd83bbcc4dfd40f0308a738cc1.tar.gz rust-ab9bbf48db3ef8cd83bbcc4dfd40f0308a738cc1.zip | |
Avoid unnecessary `rust_2018` calls.
The commit combines two calls into one by saving the result in a local variable. The commit also moves the check for `async` later, so that when a different keyword is present the `rust_2018` call will be avoided completely.
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions
