Skip to content

Commit cbbbf19

Browse files
committed
Fix
1 parent 4e3db2c commit cbbbf19

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

native/chromium/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*!
22
* Copyright (c) 2022 DB Netz AG and others.
33
* Copyright (c) 2020 Equo
44
*

native/chromium_jni_macro/src/utils/jni_utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ pub fn extract_arguments(p: &Path) -> syn::punctuated::Punctuated<BareFnArg, Com
6161
match bracket_args.first().unwrap() {
6262
GenericArgument::Type(Type::BareFn(t)) => t.inputs.clone(),
6363
_ => panic!("Not a type"),
64-
};
64+
}
6565
}
6666

6767
/// Extracts the result type from an Option function pointer path Option<*mut fn(...) -> Result>
@@ -73,5 +73,5 @@ pub fn extract_result(p: &Path) -> Option<syn::Type> {
7373
ReturnType::Default => None,
7474
},
7575
_ => panic!("Not a type (result)"),
76-
};
76+
}
7777
}

0 commit comments

Comments
 (0)