We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 912d603 commit 5f9eeb2Copy full SHA for 5f9eeb2
1 file changed
rust+wasm/{{project-name}}-wasm/src/lib.rs
@@ -31,9 +31,9 @@ pub fn set_panic_hook() {
31
32
#[wasm_bindgen]
33
extern "C" {
34
- // For alerting
+ /// For alerting
35
pub(crate) fn alert(s: &str);
36
- // For logging in the console.
+ /// For logging in the console.
37
#[wasm_bindgen(js_namespace = console)]
38
pub fn log(s: &str);
39
}
0 commit comments