about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-07-04 01:39:01 +0200
committerGitHub <noreply@github.com>2019-07-04 01:39:01 +0200
commit839e89c3d113ac80bc1bdc9383a3cd64ba4e9582 (patch)
tree13a3923806856502c39a2158a8a85b37093d6d29 /src/test/ui/thinlto
parentcd1fa00446e438407f58a0c9d70c712a8e4f1e80 (diff)
parentc51802ac6087206e302bbded174d5ac9feabf2b7 (diff)
downloadrust-839e89c3d113ac80bc1bdc9383a3cd64ba4e9582.tar.gz
rust-839e89c3d113ac80bc1bdc9383a3cd64ba4e9582.zip
Rollup merge of #62344 - matklad:simplify-option, r=sfackler
simplify Option::get_or_insert

I am pretty sure that the optimized result will be the same, and it's one `unsafe` less in the stdlib!
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions