1
0
Fork 0

Fix clippy lints

This commit is contained in:
Robbert van der Helm 2023-07-16 15:17:58 +02:00
parent c3b2b5b12d
commit 5ae23f52f4
2 changed files with 2 additions and 2 deletions

View file

@ -257,7 +257,7 @@ impl Drop for ScopedFtz {
if self.should_disable_again { if self.should_disable_again {
#[cfg(target_feature = "sse")] #[cfg(target_feature = "sse")]
{ {
return unsafe { unsafe {
std::arch::x86_64::_MM_SET_FLUSH_ZERO_MODE( std::arch::x86_64::_MM_SET_FLUSH_ZERO_MODE(
std::arch::x86_64::_MM_FLUSH_ZERO_OFF, std::arch::x86_64::_MM_FLUSH_ZERO_OFF,
) )

View file

@ -27,7 +27,7 @@ pub struct Factory<P: Vst3Plugin> {
impl<P: Vst3Plugin> Factory<P> { impl<P: Vst3Plugin> Factory<P> {
pub fn new() -> Box<Self> { pub fn new() -> Box<Self> {
Self::allocate(PhantomData::default()) Self::allocate(PhantomData)
} }
} }