diff options
| author | gnzlbg <gonzalobg88@gmail.com> | 2018-11-10 13:30:13 +0100 | 
|---|---|---|
| committer | gnzlbg <gnzlbg@users.noreply.github.com> | 2018-11-11 12:37:44 +0100 | 
| commit | f31a104c1c64c41fbabd6d461a22e6a1755b813a (patch) | |
| tree | 048dd05b878d23402d51769340bc49214a8090e3 /library/stdarch/crates/assert-instr-macro | |
| parent | 51d9585ecef9c59adedf35e0a36c0fb17844f23d (diff) | |
| download | rust-f31a104c1c64c41fbabd6d461a22e6a1755b813a.tar.gz rust-f31a104c1c64c41fbabd6d461a22e6a1755b813a.zip | |
formatting
Diffstat (limited to 'library/stdarch/crates/assert-instr-macro')
| -rw-r--r-- | library/stdarch/crates/assert-instr-macro/src/lib.rs | 9 | 
1 files changed, 6 insertions, 3 deletions
| diff --git a/library/stdarch/crates/assert-instr-macro/src/lib.rs b/library/stdarch/crates/assert-instr-macro/src/lib.rs index 6229f2c48da..7939fccb7ff 100644 --- a/library/stdarch/crates/assert-instr-macro/src/lib.rs +++ b/library/stdarch/crates/assert-instr-macro/src/lib.rs @@ -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() } | 
