Skip to content

Commit

Permalink
use {{ }}
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Nov 12, 2023
1 parent a82ed68 commit cf31432
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/android/binding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ macro_rules! android_binding {
};
// use import `android_setup` just to force the import path to use `wry::{}`
// as the macro breaks without braces
($domain:ident, $package:ident, $wry:path) => {
($domain:ident, $package:ident, $wry:path) => {{
use $wry::{android_setup as _, prelude::*};

android_fn!(
Expand Down Expand Up @@ -94,7 +94,7 @@ macro_rules! android_binding {
handleReceivedTitle,
[JObject, JString],
);
};
}};
}

fn handle_request(env: &mut JNIEnv, request: JObject) -> JniResult<jobject> {
Expand Down

0 comments on commit cf31432

Please sign in to comment.