10 lines
129 B
Rust
10 lines
129 B
Rust
![]() |
// check-pass
|
||
|
|
||
|
fn main() {
|
||
|
let opt = Some("foo bar");
|
||
|
|
||
|
if true && let Some(x) = opt {
|
||
|
println!("{}", x);
|
||
|
}
|
||
|
}
|