Lesson 5 of 25 · +100 xp

Function

Typed signature.

Explained simply

Your task

Write fn add(a: i32, b: i32) -> i32 { a + b }

fn.rust
← Back