about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser/expr.rs
diff options
context:
space:
mode:
authorWesley Wiser <wwiser@gmail.com>2019-08-26 21:58:16 -0400
committerWesley Wiser <wwiser@gmail.com>2019-08-28 07:00:27 -0400
commit30b29ab0f7c54a2ca74de5117395371101fa9518 (patch)
tree26a33907ddc7621451273a3de87a1c3c8402c112 /src/libsyntax/parse/parser/expr.rs
parentcca64e73399c02b2f964e3b34f969e826d061eed (diff)
downloadrust-30b29ab0f7c54a2ca74de5117395371101fa9518.tar.gz
rust-30b29ab0f7c54a2ca74de5117395371101fa9518.zip
Simplify `maybe_get_optimized_mir` and `maybe_get_promoted_mir`
Since both functions are always unwrapped, don't wrap the return value
in an `Option`.
Diffstat (limited to 'src/libsyntax/parse/parser/expr.rs')
0 files changed, 0 insertions, 0 deletions