formatting

This commit is contained in:
gnzlbg
2018-11-10 13:30:13 +01:00
committed by gnzlbg
parent 51d9585ece
commit f31a104c1c
18 changed files with 156 additions and 160 deletions

View File

@@ -85,7 +85,8 @@ pub fn assert_instr(
.ident
.to_string()
.starts_with("target")
}).collect::<Vec<_>>();
})
.collect::<Vec<_>>();
let attrs = Append(&attrs);
// Use an ABI on Windows that passes SIMD values in registers, like what
@@ -132,7 +133,8 @@ pub fn assert_instr(
stringify!(#shim_name),
#instr);
}
}.into();
}
.into();
// why? necessary now to get tests to work?
let tts: TokenStream =
tts.to_string().parse().expect("cannot parse tokenstream");
@@ -140,7 +142,8 @@ pub fn assert_instr(
let tts: TokenStream = quote! {
#item
#tts
}.into();
}
.into();
tts.into()
}