mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Fix clippy lints
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user