Skip to content

Commit 507008e

Browse files
committed
Minor tweak to lib.rs
1 parent cc14331 commit 507008e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

template/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ pub fn main_js() -> Result<(), JsValue> {
1919
#[cfg(debug_assertions)]
2020
console_error_panic_hook::set_once();
2121

22+
23+
// Your code goes here!
2224
console::log_1(&JsValue::from_str("Hello world!"));
2325

2426
Ok(())

0 commit comments

Comments
 (0)