Fix clippy warning
This commit is contained in:
parent
f9dc368137
commit
a9e4a697f7
1 changed files with 1 additions and 1 deletions
|
@ -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!();
|
||||
}
|
||||
};
|
||||
|
|
Reference in a new issue