From 2cc4191ec9a54d7985df9cf3e70e5ffff292ff75 Mon Sep 17 00:00:00 2001 From: Michael Angerman <1809991+stormasm@users.noreply.github.com> Date: Mon, 2 Oct 2023 21:57:21 -0700 Subject: [PATCH] engine eval.rs remove pub from fn eval_element_with_input (#10587) code cleanup of *eval.rs* I was reviewing the engine code and noticed this... The *eval_element_with_input* method in eval.rs does not need to be public at the moment because no one is calling it... @jntrnr is making this method not public going to block someone in the future who might need it ? Right now its not being used so I decided to tighten up the API a bit... --- crates/nu-engine/src/eval.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-engine/src/eval.rs b/crates/nu-engine/src/eval.rs index 521aaf02c..92b871d9c 100644 --- a/crates/nu-engine/src/eval.rs +++ b/crates/nu-engine/src/eval.rs @@ -718,7 +718,7 @@ fn might_consume_external_result(input: PipelineData) -> (PipelineData, bool) { input.is_external_failed() } -pub fn eval_element_with_input( +fn eval_element_with_input( engine_state: &EngineState, stack: &mut Stack, element: &PipelineElement,