mirror of
https://github.com/helix-editor/helix
synced 2026-07-25 10:34:50 +02:00
15 lines
162 B
Plaintext
15 lines
162 B
Plaintext
script;
|
|
|
|
struct Point {
|
|
x: u64,
|
|
y: u64,
|
|
}
|
|
|
|
fn add(a: u64, b: u64) -> u64 {
|
|
let sum = a + b;
|
|
match sum {
|
|
0 => 0,
|
|
_ => sum,
|
|
}
|
|
}
|