Skip to content

Commit 17fe3e9

Browse files
Ddystopiatshepang
authored andcommitted
fix_typo
1 parent 54e91b0 commit 17fe3e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/const-eval.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The basic rule for
5656
being permitted in the type system is that every value must be uniquely represented. In other
5757
words: a specific value must only be representable in one specific way. For example: there is only
5858
one way to represent an array of two integers as a `ValTree`:
59-
`ValTree::Branch(&[ValTree::Leaf(first_int), ValTree;:Leaf(second_int)])`.
59+
`ValTree::Branch(&[ValTree::Leaf(first_int), ValTree::Leaf(second_int)])`.
6060
Even though theoretically a `[u32; 2]` could be encoded in a `u64` and thus just be a
6161
`ValTree::Leaf(bits_of_two_u32)`, that is not a legal construction of `ValTree`
6262
(and is very complex to do, so it is unlikely anyone is tempted to do so).

0 commit comments

Comments
 (0)