mirror of https://github.com/KaiserY/trpl-zh-cn
parent
a50eb042c8
commit
7b0fa6a4bd
@ -1,7 +1,7 @@
|
||||
fn main() {
|
||||
// ANCHOR: here
|
||||
if let x = 5 else {
|
||||
return;
|
||||
if let x = 5 {
|
||||
println!("{x}");
|
||||
};
|
||||
// ANCHOR_END: here
|
||||
}
|
||||
|
Loading…
Reference in new issue