7 lines
111 B
Text
7 lines
111 B
Text
|
|
fn simple_add(x: int, y: int) -> int
|
||
|
|
x + y
|
||
|
|
|
||
|
|
fn main() -> int do
|
||
|
|
let result = simple_add(5, 3)
|
||
|
|
result
|
||
|
|
end
|