Fix clippy lints
This commit is contained in:
parent
c3b2b5b12d
commit
5ae23f52f4
|
@ -257,7 +257,7 @@ impl Drop for ScopedFtz {
|
|||
if self.should_disable_again {
|
||||
#[cfg(target_feature = "sse")]
|
||||
{
|
||||
return unsafe {
|
||||
unsafe {
|
||||
std::arch::x86_64::_MM_SET_FLUSH_ZERO_MODE(
|
||||
std::arch::x86_64::_MM_FLUSH_ZERO_OFF,
|
||||
)
|
||||
|
|
|
@ -27,7 +27,7 @@ pub struct Factory<P: Vst3Plugin> {
|
|||
|
||||
impl<P: Vst3Plugin> Factory<P> {
|
||||
pub fn new() -> Box<Self> {
|
||||
Self::allocate(PhantomData::default())
|
||||
Self::allocate(PhantomData)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue