mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-15 14:01:25 +00:00
The example should output "Hello from Rust!" (#1931)
* Make console output "Hello from Rust!" The HTML says the console would output Hello from Rust!, but instead it outputs Hello, World! This is a proposed fix. * Output "Hello from Rust!" The HTML says the console would output "Hello from Rust!" but instead it outputs "Hello, World!". This is a proposed fix.
This commit is contained in:
committed by
Alex Crichton
parent
1548953364
commit
aab99feb3e
@ -1,5 +1,5 @@
|
||||
export function name() {
|
||||
return 'World';
|
||||
return 'Rust';
|
||||
}
|
||||
|
||||
export class MyClass {
|
||||
|
Reference in New Issue
Block a user