mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 04:08:41 +00:00
refactor(transformer/async-generator-function): remove inactive #[allow(clippy::unused_self)] attrs (#7167)
Follow-on after stack up to #7148. Remove 2 x `#[allow(clippy::unused_self)]` attrs where that lint isn't triggered because the functions do use their `&self` param.
This commit is contained in:
parent
b57d5a5277
commit
1238506980
1 changed files with 0 additions and 2 deletions
|
|
@ -177,7 +177,6 @@ impl<'a, 'ctx> AsyncGeneratorFunctions<'a, 'ctx> {
|
|||
}
|
||||
|
||||
/// Transform `yield * argument` expression to `yield asyncGeneratorDelegate(asyncIterator(argument))`.
|
||||
#[allow(clippy::unused_self)]
|
||||
fn transform_yield_expression(
|
||||
&self,
|
||||
expr: &mut YieldExpression<'a>,
|
||||
|
|
@ -199,7 +198,6 @@ impl<'a, 'ctx> AsyncGeneratorFunctions<'a, 'ctx> {
|
|||
|
||||
/// Transforms `await expr` expression to `yield awaitAsyncGenerator(expr)`.
|
||||
/// Ignores top-level await expression.
|
||||
#[allow(clippy::unused_self)]
|
||||
fn transform_await_expression(
|
||||
&self,
|
||||
expr: &mut AwaitExpression<'a>,
|
||||
|
|
|
|||
Loading…
Reference in a new issue