Skip to content

Commit 2d209b7

Browse files
committed
Fix compile error
1 parent c057545 commit 2d209b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solution/s2022_convert_1d_array_into_2d_array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ mod tests {
9494
let m = 1;
9595
let n = 1;
9696

97-
let result = vec![];
97+
let result: Vec<Vec<i32>> = vec![];
9898

9999
assert_eq!(Solution::construct2_d_array(original, m, n), result);
100100
}

0 commit comments

Comments
 (0)