mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2025-02-24 21:32:15 +08:00
9 lines
132 B
Rust
9 lines
132 B
Rust
|
fn main() {
|
||
|
// ANCHOR: here
|
||
|
let x: i8 = 5;
|
||
|
let y: Option<i8> = Some(5);
|
||
|
|
||
|
let sum = x + y;
|
||
|
// ANCHOR_END: here
|
||
|
}
|