Skip to content

Commit

Permalink
fix: cannot infer type
Browse files Browse the repository at this point in the history
  • Loading branch information
0xBoji committed Oct 6, 2024
1 parent 67530a7 commit fc05f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/day07_to_day09/fibonacci.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ mod tests {

#[test]
fn test_fibonacci() {
assert_eq!(fibonacci(0), vec![]);
assert_eq!(fibonacci(0), Vec::<u32>::new());
assert_eq!(fibonacci(1), vec![0]);
assert_eq!(fibonacci(2), vec![0, 1]);
assert_eq!(fibonacci(5), vec![0, 1, 1, 2, 3]);
Expand Down

0 comments on commit fc05f65

Please sign in to comment.