mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-11 22:56:06 +00:00
Fix an example on nightly
This commit is contained in:
parent
ce3068bb3a
commit
285c734a6a
@ -8,8 +8,8 @@ extern "C" {
|
|||||||
fn log(s: &str);
|
fn log(s: &str);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug)]
|
|
||||||
#[wasm_bindgen]
|
#[wasm_bindgen]
|
||||||
|
#[derive(Debug)]
|
||||||
pub struct Counter {
|
pub struct Counter {
|
||||||
key: char,
|
key: char,
|
||||||
count: i32,
|
count: i32,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user