From c8f3799c20b5c30c3e798e71b81943acaf17246a Mon Sep 17 00:00:00 2001 From: JT <547158+jntrnr@users.noreply.github.com> Date: Mon, 7 Aug 2023 06:23:11 +1200 Subject: [PATCH] Fix a couple clippy warnings (#9936) # Description # User-Facing Changes # Tests + Formatting # After Submitting --- crates/nu-cmd-dataframe/src/dataframe/test_dataframe.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu-cmd-dataframe/src/dataframe/test_dataframe.rs b/crates/nu-cmd-dataframe/src/dataframe/test_dataframe.rs index d030b074ca..ff163ae940 100644 --- a/crates/nu-cmd-dataframe/src/dataframe/test_dataframe.rs +++ b/crates/nu-cmd-dataframe/src/dataframe/test_dataframe.rs @@ -61,7 +61,7 @@ pub fn test_dataframe_example(engine_state: &mut Box, example: &Exa let start = std::time::Instant::now(); let (block, delta) = { - let mut working_set = StateWorkingSet::new(&engine_state); + let mut working_set = StateWorkingSet::new(engine_state); let output = parse(&mut working_set, None, example.example.as_bytes(), false); if let Some(err) = working_set.parse_errors.first() { @@ -78,7 +78,7 @@ pub fn test_dataframe_example(engine_state: &mut Box, example: &Exa let mut stack = Stack::new(); let result = eval_block( - &engine_state, + engine_state, &mut stack, &block, PipelineData::empty(),