Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
use wasm_bindgen::prelude::*;
#[wasm_bindgen]
pub fn say(s: &str) -> String {
println!("The Rust function say() received {}", s);
let r = String::from("hello ");
return r + s;
}