about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/graph.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-10-21 13:56:01 +0000
committerbors <bors@rust-lang.org>2024-10-21 13:56:01 +0000
commit0d6202dd4515b05023f9c88aa6a098374fe9cbcd (patch)
tree7163ee50aa8350828cb89efeb49a7613e12b12c4 /compiler/rustc_mir_transform/src/coverage/graph.rs
parenta41e3155dd9ed31fb88017bfff365620eaf9da43 (diff)
parent2372217f82d6f3a5e04b4537bbeee0bce98f008e (diff)
downloadrust-0d6202dd4515b05023f9c88aa6a098374fe9cbcd.tar.gz
rust-0d6202dd4515b05023f9c88aa6a098374fe9cbcd.zip
Auto merge of #18294 - Giga-Bowser:master, r=Veykril
Add wrap/unwrap return type in Option

I pretty much just copied over the code and tests for wrapping/unwrapping return types in `Result` and then did a bunch of find and replace changes.

I handled unwrapping statements returning `None` by just replacing `None` with the unit type, but I'm open to suggestions for more intuitive behavior here.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/graph.rs')
0 files changed, 0 insertions, 0 deletions