diff --git a/crates/prover/src/trace_generation/registry.rs b/crates/prover/src/trace_generation/registry.rs index 958d1aa8f..afaa961f8 100644 --- a/crates/prover/src/trace_generation/registry.rs +++ b/crates/prover/src/trace_generation/registry.rs @@ -8,9 +8,9 @@ pub struct ComponentGenerationRegistry { } impl ComponentGenerationRegistry { - pub fn register(&mut self, component_id: &str, component: impl ComponentGen) { + pub fn register(&mut self, component_id: &str, component_generator: impl ComponentGen) { self.components - .insert(component_id.to_string(), Box::new(component)); + .insert(component_id.to_string(), Box::new(component_generator)); } pub fn get_generator(&self, component_id: &str) -> &T {