chore: appease clippy

This commit is contained in:
Lord-McSweeney 2024-08-17 08:55:11 -07:00 committed by Lord-McSweeney
parent cb5644bcb4
commit 7bea8c90ee
2 changed files with 2 additions and 0 deletions

View File

@ -398,6 +398,7 @@ impl<'a, 'gc> Activation<'a, 'gc> {
/// method.
/// NOTE: this is intended to be used immediately after from_nothing(),
/// as a more efficient replacement for direct `Activation::from_method()`
#[allow(clippy::too_many_arguments)]
pub fn init_from_method(
&mut self,
method: Gc<'gc, BytecodeMethod<'gc>>,

View File

@ -137,6 +137,7 @@ impl<'gc> BoundMethod<'gc> {
///
/// Passed-in arguments will be conformed to the set of method parameters
/// declared on the function.
#[allow(clippy::too_many_arguments)]
pub fn exec<'gc>(
method: Method<'gc>,
scope: ScopeChain<'gc>,