Skip to content

Commit b2b8b8b

Browse files
Pauansendilkumarn
authored andcommitted
Minor tweak to lib.rs
1 parent 2fb9b7d commit b2b8b8b

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)