Skip to content

Commit 8ba643f

Browse files
rvolosatovslukewagner
authored andcommitted
replace unsized uN by a u32
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
1 parent 3670a4c commit 8ba643f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

design/mvp/Binary.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ Notes:
355355
(See [Value Definitions](Explainer.md#value-definitions) in the explainer.)
356356

357357
```ebnf
358-
value ::= t:<valtype> len:<uN> v:<val(t)> => (value t v) (where len = ||v|| and N = ceil(sqrt(||v||)))
358+
value ::= t:<valtype> len:<core:u32> v:<val(t)> => (value t v) (where len = ||v||)
359359
val(bool) ::= 0x00 => false
360360
| 0x01 => true
361361
val(u8) ::= v:<core:byte> => v
@@ -401,7 +401,6 @@ Notes:
401401
- [`core:u16`]
402402
- [`core:u32`]
403403
- [`core:u64`]
404-
- [`core:uN`]
405404
- [`core:f32`]
406405
- [`core:f64`]
407406
- [`core:utf8`]
@@ -445,7 +444,6 @@ named once.
445444
[`core:u32`]: https://webassembly.github.io/spec/core/binary/values.html#integers
446445
[`core:s64`]: https://webassembly.github.io/spec/core/binary/values.html#integers
447446
[`core:u64`]: https://webassembly.github.io/spec/core/binary/values.html#integers
448-
[`core:uN`]: https://webassembly.github.io/spec/core/binary/values.html#integers
449447
[`core:f32`]: https://webassembly.github.io/spec/core/binary/values.html#floating-point
450448
[`core:f64`]: https://webassembly.github.io/spec/core/binary/values.html#floating-point
451449
[`core:utf8`]: https://webassembly.github.io/spec/core/binary/values.html#binary-utf8

0 commit comments

Comments
 (0)