Skip to content

Commit 37ad6a3

Browse files
authored
Update 1.59.0 release post: Fix example (#942)
1 parent 584a455 commit 37ad6a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posts/2022-02-24-Rust-1.59.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ fn cartesian_product<
126126
T, const N: usize,
127127
U, const M: usize,
128128
V, F
129-
>(a: [T; N], b: [U; M]) -> [[V; N]; M]
129+
>(a: [T; N], b: [U; M], f: F) -> [[V; N]; M]
130130
where
131131
F: FnMut(&T, &U) -> V
132132
{

0 commit comments

Comments
 (0)