Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

Commit

Permalink
raduga: rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
yvt committed Nov 16, 2018
1 parent 068e9c5 commit 664967a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions EngineCore/src/support/raduga/src/kernel/mapu8x4inplace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
// This source code is a part of Nightingales.
//
#![allow(unused_imports)]
use crate::{intrin, simd16};
use crate::{ScalarMode, SimdMode};
use packed_simd::{self as simd, Cast};
#[cfg(target_arch = "x86")]
use std::arch::x86 as vendor;
#[cfg(target_arch = "x86_64")]
use std::arch::x86_64 as vendor;
use std::mem::transmute;
use crate::{intrin, simd16};
use crate::{ScalarMode, SimdMode};

/// Kernels that apply a function on an interleaved array of `[u8; 4]`s.
pub trait MapU8x4InplaceKernel {
Expand Down
2 changes: 1 addition & 1 deletion EngineCore/src/support/raduga/src/simd16.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
//
#[allow(unused_imports)]
use crate::intrin;
use crate::{IntPacked, Packed, PackedI16, PackedU16, PackedU32, PackedU8, SimdMode};
#[allow(unused_imports)]
use packed_simd::{self as simd, Cast};
#[cfg(target_arch = "x86")]
Expand All @@ -13,7 +14,6 @@ use std::arch::x86 as vendor;
use std::arch::x86_64 as vendor;
#[allow(unused_imports)]
use std::mem::transmute;
use crate::{IntPacked, Packed, PackedI16, PackedU16, PackedU32, PackedU8, SimdMode};

#[derive(Debug, Copy, Clone)]
pub struct Simd16Mode;
Expand Down

0 comments on commit 664967a

Please sign in to comment.