Last active
May 7, 2022 17:38
-
-
Save eventhelix/8abb143f41abd10c5355fe643e9c6ac2 to your computer and use it in GitHub Desktop.
A simple function in Rust
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pub fn add(a: u64, b: u64) -> u64 { | |
a + b | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A simple function that adds two numbers and returns the result.