chore: cargo fmt on the stub binary
This commit is contained in:
parent
399614f598
commit
b825bf6e34
|
@ -1,6 +1,6 @@
|
||||||
|
use objc::class;
|
||||||
use objc::declare::ClassDecl;
|
use objc::declare::ClassDecl;
|
||||||
use objc::runtime::Protocol;
|
use objc::runtime::Protocol;
|
||||||
use objc::class;
|
|
||||||
|
|
||||||
fn extension_class() {
|
fn extension_class() {
|
||||||
let mut ruffle = ClassDecl::new("RuffleWebExtension", class!(NSObject)).unwrap();
|
let mut ruffle = ClassDecl::new("RuffleWebExtension", class!(NSObject)).unwrap();
|
||||||
|
@ -11,7 +11,7 @@ fn extension_class() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[link(name = "Foundation", kind = "framework")]
|
#[link(name = "Foundation", kind = "framework")]
|
||||||
extern {
|
extern "C" {
|
||||||
/// Private function used as the entry point of all app extensions.
|
/// Private function used as the entry point of all app extensions.
|
||||||
///
|
///
|
||||||
/// In Obj-C/Swift apps, a linker flag is used to set this as the entry
|
/// In Obj-C/Swift apps, a linker flag is used to set this as the entry
|
||||||
|
|
Loading…
Reference in New Issue