Skip to content

Commit 22f37f2

Browse files
authored
fix nit
1 parent 34049bb commit 22f37f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: posts/2021-02-26-const-generics-mvp-beta.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ One difficulty lies in the necessity of having some way to compare unevaluated c
102102
// entities in the compiler, so we need a way to check
103103
// if they should be considered equal.
104104
fn foo<const N: usize>() -> [u8; N + 1] {
105-
[u8; N + 1]
105+
[0; N + 1]
106106
}
107107
```
108108

0 commit comments

Comments
 (0)