]> git.lizzy.rs Git - rust.git/blob - tests/source/extern_not_explicit.rs
Prevent duplicate comma when formatting struct pattern with ".."
[rust.git] / tests / source / extern_not_explicit.rs
1 // rustfmt-force_explicit_abi: false
2
3  extern  "C" {
4    fn some_fn() -> ();
5  }
6
7  extern "C" fn sup() {
8
9  }
10
11 type funky_func = extern "C" fn (unsafe extern "rust-call" fn(*const JSJitInfo, *mut JSContext,
12                                               HandleObject, *mut libc::c_void, u32,
13                                               *mut JSVal)
14                                               -> u8);