mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-07-02 06:01:34 +00:00
Consistently use extern "C"
This is what rustfmt favors, so let's favor it too! Closes #1042
This commit is contained in:
@ -13,7 +13,7 @@ also [follow along in the repository][repo].
|
||||
|
||||
```rust
|
||||
#[wasm_bindgen]
|
||||
extern {
|
||||
extern "C" {
|
||||
fn alert(msg: &str);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user