Fix clippy warning

This commit is contained in:
Rodolphe Breard 2019-06-29 17:35:56 +02:00
parent f9dc368137
commit a9e4a697f7

View file

@ -56,7 +56,7 @@ pub fn event(attr: TokenStream, input: TokenStream) -> TokenStream {
let fn_params = &item.decl.inputs;
let (ctx_type, callback_type) = match get_type(fn_params) {
Ok(t) => t,
Err(_) => {
Err(_e) => {
panic!();
}
};