Skip to content

Commit b452326

Browse files
fix comment
1 parent a8a7023 commit b452326

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/core/src/host/v8/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,12 +609,12 @@ struct JsInstanceLaneState {
609609
replace_lock: AsyncMutex<()>,
610610
}
611611

612-
#[derive(Clone)]
613612
/// A single serialized execution lane for JS module work.
614613
///
615614
/// Callers share one active [`JsInstance`] so hot requests stay on the same
616615
/// worker thread for locality. The lane only steps in on the rare path, where
617616
/// a trap or disconnect forces that active worker to be replaced.
617+
#[derive(Clone)]
618618
pub struct JsInstanceLane {
619619
module: JsModule,
620620
state: Arc<JsInstanceLaneState>,

0 commit comments

Comments
 (0)