Skip to content

Commit 5f9eeb2

Browse files
committed
docs: Convert log and alert comments to docstrings
1 parent 912d603 commit 5f9eeb2

File tree

1 file changed

+2
-2
lines changed
  • rust+wasm/{{project-name}}-wasm/src

1 file changed

+2
-2
lines changed

rust+wasm/{{project-name}}-wasm/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ pub fn set_panic_hook() {
3131

3232
#[wasm_bindgen]
3333
extern "C" {
34-
// For alerting
34+
/// For alerting
3535
pub(crate) fn alert(s: &str);
36-
// For logging in the console.
36+
/// For logging in the console.
3737
#[wasm_bindgen(js_namespace = console)]
3838
pub fn log(s: &str);
3939
}

0 commit comments

Comments
 (0)