diff --git a/examples/c++-arrow-dataflow/run.rs b/examples/c++-arrow-dataflow/run.rs index 314dc5e1..1683e104 100644 --- a/examples/c++-arrow-dataflow/run.rs +++ b/examples/c++-arrow-dataflow/run.rs @@ -72,7 +72,7 @@ async fn main() -> eyre::Result<()> { fn find_arrow_config() -> eyre::Result { let output = Command::new("pkg-config") - .args(&["--cflags", "arrow"]) + .args(["--cflags", "arrow"]) .output() .wrap_err("Failed to run pkg-config. Make sure Arrow C++ is installed")?; @@ -85,7 +85,7 @@ fn find_arrow_config() -> eyre::Result { let cflags = String::from_utf8(output.stdout)?.trim().to_string(); let output = Command::new("pkg-config") - .args(&["--libs", "arrow"]) + .args(["--libs", "arrow"]) .output() .wrap_err("Failed to get Arrow library flags")?; diff --git a/libraries/core/src/descriptor/validate.rs b/libraries/core/src/descriptor/validate.rs index 2d5876a5..3cc727c2 100644 --- a/libraries/core/src/descriptor/validate.rs +++ b/libraries/core/src/descriptor/validate.rs @@ -49,7 +49,7 @@ pub fn check_dataflow( info!("skipping path check for node with build command"); } else { resolve_path(source, working_dir).wrap_err_with(|| { - format!("Could not find source path `{}`", source) + format!("Could not find source path `{source}`") })?; }; }