mirror of
https://github.com/robbert-vdh/nih-plug.git
synced 2026-07-01 02:36:54 +00:00
Silence too_many_arguments Clippy lint in wrapper
Aside from wrapping everything in another struct we can't really do anything about this since this is all generated by the VST3 macro.
This commit is contained in:
@@ -14,6 +14,10 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
// The VST3 macro generates an `allocate()` function for initializing the struct, so Clippy will
|
||||
// complain as soon as a struct has more than 8 fields
|
||||
#![allow(clippy::too_many_arguments)]
|
||||
|
||||
use lazy_static::lazy_static;
|
||||
use std::cell::{Cell, RefCell};
|
||||
use std::collections::HashMap;
|
||||
|
||||
Reference in New Issue
Block a user