wit-bindgen icon indicating copy to clipboard operation
wit-bindgen copied to clipboard

Syntax for `unit`

Open alexcrichton opened this issue 3 years ago • 0 comments

The new "unit" type from the canonical ABI is implemented as the keyword unit, but we may also wish to consider using the () syntax for the unit type. This also relates to https://github.com/bytecodealliance/wit-bindgen/issues/216 and https://github.com/WebAssembly/component-model/issues/21, however.

alexcrichton avatar May 04 '22 16:05 alexcrichton