about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-10-29 06:56:52 +0000
committerbors <bors@rust-lang.org>2015-10-29 06:56:52 +0000
commit2af9aabf3adb49f208bfae0351a143df599fb553 (patch)
treeb9cc05f2b783441beaa5932ed0a413238556e3f9 /src/libstd/sys/unix/stack_overflow.rs
parent3896a005360fe818bef89c26ea1204597be6ae03 (diff)
parent99ecf4e2c94a72a68294111ecdf6a82c150c378a (diff)
downloadrust-2af9aabf3adb49f208bfae0351a143df599fb553.tar.gz
rust-2af9aabf3adb49f208bfae0351a143df599fb553.zip
Auto merge of #29441 - Ryman:match_refactor_msg, r=alexcrichton
This helps for the case where a match, such as below:
```rust
let foo = match foo {
    Some(x) => x,
    None => 0
};
```
gets refactored to no longer need the match, but the match keyword has been left accidentally: 

```rust
let foo = match foo.unwrap_or(0);
```

This can be hard to spot as the expression grows more complex.

r? @alexcrichton 
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions