From 7384bd1967e325101b09234753598122c71eaefe Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Tue, 6 Feb 2018 11:48:12 -0800 Subject: [PATCH] Fix some syntax highlighting --- DESIGN.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DESIGN.md b/DESIGN.md index f89fab5f..df507d59 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -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 -``` +```js import * as wasm from './foo_wasm'; 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 class and use it from Rust. First up, let's look at the JS: -```rust +```js import * as wasm from './foo_wasm'; import { Bar } from './bar';