dsp: fix nightly
This commit is contained in:
parent
ccec9d7fed
commit
fcb7bb0025
@ -1,4 +1,5 @@
|
|||||||
#![cfg_attr(not(test), no_std)]
|
#![cfg_attr(not(test), no_std)]
|
||||||
|
#![cfg_attr(feature = "nightly", feature(asm, core_intrinsics))]
|
||||||
|
|
||||||
mod tools;
|
mod tools;
|
||||||
pub use tools::*;
|
pub use tools::*;
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
#![cfg_attr(feature = "nightly", feature(asm, core_intrinsics))]
|
|
||||||
|
|
||||||
use core::ops::{Add, Mul, Neg};
|
use core::ops::{Add, Mul, Neg};
|
||||||
|
|
||||||
pub fn abs<T>(x: T) -> T
|
pub fn abs<T>(x: T) -> T
|
||||||
|
Loading…
Reference in New Issue
Block a user