1
0
Fork 0

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:
Robbert van der Helm 2022-01-28 13:39:44 +01:00
parent fa13371c5f
commit a34293fbb4

View file

@ -14,6 +14,10 @@
// You should have received a copy of the GNU General Public License // You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>. // 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 lazy_static::lazy_static;
use std::cell::{Cell, RefCell}; use std::cell::{Cell, RefCell};
use std::collections::HashMap; use std::collections::HashMap;