Skip to content

Commit

Permalink
fix: grains return total
Browse files Browse the repository at this point in the history
  • Loading branch information
centum committed Mar 3, 2020
1 parent 3d7e411 commit 34a4c1a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions grains/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ pub fn square(s: u32) -> u64 {
}

pub fn total() -> u64 {
std::u64::MAX
// square(64)
!0
}

0 comments on commit 34a4c1a

Please sign in to comment.