diff options
Diffstat (limited to 'book/src/extern-rust.md')
-rw-r--r-- | book/src/extern-rust.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/book/src/extern-rust.md b/book/src/extern-rust.md index ab9dcb64..40f22375 100644 --- a/book/src/extern-rust.md +++ b/book/src/extern-rust.md @@ -91,7 +91,7 @@ statement. #[cxx::bridge] mod ffi { extern "Rust" { - struct MyType; + type MyType; fn f() -> Box<MyType>; } } |