mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
9 lines
179 B
Rust
9 lines
179 B
Rust
fn main() {
|
|
// insert only fix, adds `,` to first match arm
|
|
// why doesnt this replace 1 with 1,?
|
|
match &Some(3) {
|
|
&None => 1,
|
|
&Some(x) => x,
|
|
};
|
|
}
|