File tree Expand file tree Collapse file tree 2 files changed +838
-800
lines changed
turbopack/crates/turbopack-ecmascript/src Expand file tree Collapse file tree 2 files changed +838
-800
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ use crate::{
3535 utils:: { AstPathRange , unparen} ,
3636} ;
3737
38- #[ derive( Debug , Clone ) ]
38+ #[ derive( Debug ) ]
3939pub struct EffectsBlock {
4040 pub effects : Vec < Effect > ,
4141 pub range : AstPathRange ,
@@ -47,7 +47,7 @@ impl EffectsBlock {
4747 }
4848}
4949
50- #[ derive( Debug , Clone ) ]
50+ #[ derive( Debug ) ]
5151pub enum ConditionalKind {
5252 /// The blocks of an `if` statement without an `else` block.
5353 If { then : Box < EffectsBlock > } ,
@@ -117,7 +117,7 @@ impl ConditionalKind {
117117 }
118118}
119119
120- #[ derive( Debug , Clone ) ]
120+ #[ derive( Debug ) ]
121121pub enum EffectArg {
122122 Value ( JsValue ) ,
123123 Closure ( JsValue , Box < EffectsBlock > ) ,
@@ -140,7 +140,7 @@ impl EffectArg {
140140 }
141141}
142142
143- #[ derive( Debug , Clone ) ]
143+ #[ derive( Debug ) ]
144144pub enum Effect {
145145 /// Some condition which affects which effects might be executed. If the
146146 /// condition evaluates to some compile-time constant, we can use that
You can’t perform that action at this time.
0 commit comments