File tree 2 files changed +1
-7
lines changed
2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 5
5
// for testing aliasing between cxx::bridge mods, so we'll keep it that way and
6
6
// start a new mod here.
7
7
8
- // Rustfmt mangles the extern type alias.
9
- // https://github.com/rust-lang/rustfmt/issues/4159
10
- #[ rustfmt:: skip]
11
8
#[ cxx:: bridge( namespace = "tests" ) ]
12
9
pub mod ffi2 {
13
10
impl UniquePtr < D > { }
@@ -43,7 +40,7 @@ pub mod ffi2 {
43
40
fn c_return_trivial_ns_ptr ( ) -> UniquePtr < G > ;
44
41
fn c_return_trivial_ns ( ) -> G ;
45
42
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 > ;
47
44
fn c_return_ns_unique_ptr ( ) -> UniquePtr < H > ;
48
45
fn c_take_ref_ns_c ( h : & H ) ;
49
46
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]
4
1
#[ cxx:: bridge( namespace = "tests" ) ]
5
2
pub mod ffi {
6
3
unsafe extern "C++" {
You can’t perform that action at this time.
0 commit comments