guide: also allow Option<bool>

This commit is contained in:
Nick Fitzgerald
2018-08-14 17:34:16 -07:00
parent 9c9e53485a
commit fea41b4a87
3 changed files with 22 additions and 1 deletions

View File

@ -107,7 +107,7 @@ garbage-collected heap and the Wasm linear memory with `TextDecoder` and
| `T` parameter | `&T` parameter | `&mut T` parameter | `T` return value | `Option<T>` parameter | `Option<T>` return value | JavaScript representation |
|:---:|:---:|:---:|:---:|:---:|:---:|:---:|
| Yes | No | No | Yes | No | No | A JavaScript boolean value |
| Yes | No | No | Yes | Yes | Yes | A JavaScript boolean value |
### Example Rust Usage