diff --git a/README.md b/README.md index e668379f..1509b4d0 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ check out our [contribution policy]. ```rust #[wasm_bindgen] extern { - fn alert(s: &str); + pub fn alert(s: &str); } #[wasm_bindgen]