Skip to content

Commit

Permalink
fix fib README
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyfettes committed Jan 8, 2024
1 parent 7b0689d commit c51c6af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benchmark/fibonacci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ func fib(num : Int) -> Int {
}
pub func test(n : Int, count : Int) -> Int {
var i = 0
var res = 0
let mut i = 0
let mut res = 0
while i < count {
res = fib(n)
i = i + 1
Expand Down

0 comments on commit c51c6af

Please sign in to comment.