docs: change WASM/wasm to Wasm
That is the official capitalisation.
This commit is contained in:
parent
7bc8f76667
commit
88e0b4cea4
36 changed files with 122 additions and 122 deletions
|
|
@ -98,11 +98,11 @@ assert_eq!(
|
|||
);
|
||||
```
|
||||
|
||||
## Using WASM Grammar Files
|
||||
## Using Wasm Grammar Files
|
||||
|
||||
> Requires the feature **wasm** to be enabled.
|
||||
|
||||
First, create a parser with a WASM store:
|
||||
First, create a parser with a Wasm store:
|
||||
|
||||
```rust
|
||||
use tree_sitter::{wasmtime::Engine, Parser, WasmStore};
|
||||
|
|
@ -114,7 +114,7 @@ let mut parser = Parser::new();
|
|||
parser.set_wasm_store(store).unwrap();
|
||||
```
|
||||
|
||||
Then, load the language from a WASM file:
|
||||
Then, load the language from a Wasm file:
|
||||
|
||||
```rust
|
||||
const JAVASCRIPT_GRAMMAR: &[u8] = include_bytes!("path/to/tree-sitter-javascript.wasm");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue