diff --git a/crates/nu-protocol/src/engine/engine_state.rs b/crates/nu-protocol/src/engine/engine_state.rs index d21393c9b1..91c00a99ee 100644 --- a/crates/nu-protocol/src/engine/engine_state.rs +++ b/crates/nu-protocol/src/engine/engine_state.rs @@ -394,7 +394,7 @@ impl EngineState { } /// Translate overlay IDs from other to IDs in self - pub fn translate_overlay_ids(&self, other: &ScopeFrame) -> Vec { + fn translate_overlay_ids(&self, other: &ScopeFrame) -> Vec { let other_names = other.active_overlays.iter().map(|other_id| { &other .overlays