Skip to content

Commit

Permalink
add func
Browse files Browse the repository at this point in the history
  • Loading branch information
houseme committed Aug 16, 2024
1 parent 1563ad1 commit 87ecb94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
stale
stable
2 changes: 2 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// add function that takes two u64 integers and returns their sum
// add function is public
pub fn add(left: u64, right: u64) -> u64 {
left + right
}
Expand Down

0 comments on commit 87ecb94

Please sign in to comment.