macro: fix syntax error in non-result tuple case

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2023-05-02 09:39:27 +02:00
parent 8d93a3de61
commit f381c740b4

View File

@ -439,7 +439,7 @@ fn handle_return_kind(
};
} else {
handle_return = quote! {
let result = match #name(#passed_arguments);
let result = #name(#passed_arguments);
};
}