11 lines
285 B
Rust
11 lines
285 B
Rust
|
#![feature(mut_ref)]
|
||
|
fn mut_ref() {
|
||
|
if let Some(mut /*a*/ ref /*def*/ mut /*abc*/ state)= /*abc*/foo{
|
||
|
println!(
|
||
|
"asdfasdfasdf"); }
|
||
|
|
||
|
if let Some(mut /*a*/ ref /*def*/ /*mut*/ state)= /*abc*/foo{
|
||
|
println!(
|
||
|
"asdfasdfasdf"); }
|
||
|
}
|