Fix some syntax highlighting

This commit is contained in:
Alex Crichton 2018-02-06 11:48:12 -08:00
parent 02abf588d5
commit 7384bd1967

View File

@ -297,7 +297,7 @@ export function greet(a: string): string;
To see what's going on, let's take a look at the generated shim To see what's going on, let's take a look at the generated shim
``` ```js
import * as wasm from './foo_wasm'; import * as wasm from './foo_wasm';
function passStringToWasm(arg) { function passStringToWasm(arg) {
@ -635,7 +635,7 @@ fn run() {
Here we're going to do the opposite of the above example and instead import our Here we're going to do the opposite of the above example and instead import our
class and use it from Rust. First up, let's look at the JS: class and use it from Rust. First up, let's look at the JS:
```rust ```js
import * as wasm from './foo_wasm'; import * as wasm from './foo_wasm';
import { Bar } from './bar'; import { Bar } from './bar';