]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-2197.rs
:arrow_up: rust-analyzer
[rust.git] / src / tools / rustfmt / tests / target / issue-2197.rs
1 // rustfmt-max_width: 79
2 // rustfmt-wrap_comments: true
3
4 /// ```rust
5 /// unsafe fn sum_sse2(x: i32x4) -> i32 {
6 ///     let x = vendor::_mm_add_epi32(
7 ///         x,
8 ///         vendor::_mm_srli_si128(x.into(), 8).into(),
9 ///     );
10 ///     let x = vendor::_mm_add_epi32(
11 ///         x,
12 ///         vendor::_mm_srli_si128(x.into(), 4).into(),
13 ///     );
14 ///     vendor::_mm_cvtsi128_si32(x)
15 /// }
16 /// ```
17 fn foo() {}