Browse Source

Formatting tweaks

pull/3/head
Cesar Eduardo Barros 9 years ago
parent
commit
15689d0e67
  1. 3
      src/lib.rs
  2. 2
      src/simdty.rs

3
src/lib.rs

@ -16,7 +16,8 @@
#![cfg_attr(feature = "simd_opt", feature(cfg_target_feature))]
#![cfg_attr(feature = "simd_asm", feature(asm))]
#[cfg(all(feature = "bench", test))] extern crate test;
#[cfg(all(feature = "bench", test))]
extern crate test;
extern crate constant_time_eq;

2
src/simdty.rs

@ -7,7 +7,6 @@
#![allow(dead_code)]
#![allow(non_camel_case_types)]
#![cfg_attr(feature = "clippy", allow(inline_always))]
#[cfg(feature = "simd")]
macro_rules! decl_simd {
@ -63,6 +62,7 @@ pub type u16x16 = Simd16<u16>;
pub type u8x32 = Simd32<u8>;
#[cfg_attr(feature = "clippy", allow(inline_always))]
impl<T> Simd4<T> {
#[inline(always)]
pub fn new(e0: T, e1: T, e2: T, e3: T) -> Simd4<T> {

Loading…
Cancel
Save