File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 55// for testing aliasing between cxx::bridge mods, so we'll keep it that way and
66// start a new mod here.
77
8- // Rustfmt mangles the extern type alias.
9- // https://github.com/rust-lang/rustfmt/issues/4159
10- #[ rustfmt:: skip]
118#[ cxx:: bridge( namespace = "tests" ) ]
129pub mod ffi2 {
1310 impl UniquePtr < D > { }
@@ -43,7 +40,7 @@ pub mod ffi2 {
4340 fn c_return_trivial_ns_ptr ( ) -> UniquePtr < G > ;
4441 fn c_return_trivial_ns ( ) -> G ;
4542 fn c_return_opaque_ptr ( ) -> UniquePtr < E > ;
46- fn c_return_ns_opaque_ptr ( ) -> UniquePtr < F > ;
43+ fn c_return_ns_opaque_ptr ( ) -> UniquePtr < F > ;
4744 fn c_return_ns_unique_ptr ( ) -> UniquePtr < H > ;
4845 fn c_take_ref_ns_c ( h : & H ) ;
4946
Original file line number Diff line number Diff line change 1- // Rustfmt mangles the extern type alias.
2- // https://github.com/rust-lang/rustfmt/issues/4159
3- #[ rustfmt:: skip]
41#[ cxx:: bridge( namespace = "tests" ) ]
52pub mod ffi {
63 unsafe extern "C++" {
You can’t perform that action at this time.
0 commit comments