Update lib.rs
Updates call to .set_text_content, now take an Option<&str> instead of &str.
@@ -11,7 +11,7 @@ pub fn run() -> Result<(), JsValue> {
// Manufacture the element we're gonna append
let val = document.create_element("p")?;
- val.set_text_content("Hello from Rust!");
+ val.set_text_content(Some("Hello from Rust!"));
body.append_child(&val)?;
