Remove unnecessary -> () function return types

This commit is contained in:
Richard Feldman 2022-05-18 08:29:40 -04:00
parent 7a353f0e0c
commit 9c72e5e8ed
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798
13 changed files with 26 additions and 26 deletions

View file

@ -19,7 +19,7 @@ pub fn mono_test(_args: TokenStream, item: TokenStream) -> TokenStream {
let result = quote! {
#[test]
#(#attributes)*
#visibility fn #name(#args) -> () {
#visibility fn #name(#args) {
compiles_to_ir(#name_str, #body);
}