mirror of
https://github.com/nushell/nushell.git
synced 2024-12-23 07:30:13 +01:00
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...
This commit is contained in:
parent
844cb1213b
commit
2cc4191ec9
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user