The #[repr(C)] attribute on the callback example is not necessary, since the type is not used in C.

pull/274/head
Jason Heeris 3 years ago committed by Alexis Beingessner
parent ce7f52b0ad
commit b9ca313e68

@ -310,7 +310,6 @@ referenced Rust object.
Rust code:
```rust,no_run
#[repr(C)]
struct RustObject {
a: i32,
// Other members...

Loading…
Cancel
Save