second-state / wasm-learning

Building Rust functions for Node.js to take advantage of Rust's performance, WebAssembly's security and portability, and JavaScript's ease-of-use. Demo code and recipes.
https://www.secondstate.io/articles/getting-started-with-rust-function/
485 stars 102 forks source link

Update lib.rs #1

Closed Turbo1248 closed 4 years ago

Turbo1248 commented 4 years ago

Updated to output the square of a given input

juntao commented 4 years ago

Hello, thank you for participating in our learning initiative. You do not need to send your app back to us as PR. Just publish your fork in your own GitHub repo. Thanks.