Skip to content

Commit

Permalink
It needs to be pub to compile
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-s authored Jun 25, 2018
1 parent dab6b73 commit 6d1a847
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _posts/2018-06-25-vision-for-rust-and-wasm.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ use wasm_bindgen::prelude::*;

#[wasm_bindgen]
extern {
fn alert(s: &str);
pub fn alert(s: &str);
}

#[wasm_bindgen]
Expand Down

0 comments on commit 6d1a847

Please sign in to comment.