diff options
Diffstat (limited to 'dev_tools/src')
| -rw-r--r-- | dev_tools/src/bin/test-examples.rs | 2 | ||||
| -rw-r--r-- | dev_tools/src/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dev_tools/src/bin/test-examples.rs b/dev_tools/src/bin/test-examples.rs index 5153709..539459e 100644 --- a/dev_tools/src/bin/test-examples.rs +++ b/dev_tools/src/bin/test-examples.rs @@ -94,7 +94,7 @@ fn run_all_tests(config: &TestConfig, bar: &ProgressBar) -> usize { /// Build the example binary, return true on success fn build_example(example_name: &str) -> bool { let manifest = format!("examples/{example_name}/Cargo.toml"); - tools::run_cmd_capture(&format!( + tools::run_cmd_capture(format!( "cargo build --manifest-path {manifest} --color always", )) .is_ok() diff --git a/dev_tools/src/lib.rs b/dev_tools/src/lib.rs index 2bd55a2..bb4a7d9 100644 --- a/dev_tools/src/lib.rs +++ b/dev_tools/src/lib.rs @@ -255,7 +255,7 @@ pub fn run_parallel(phase: &str, tasks: Vec<(String, String, String)>) -> Result code, )); if !output.is_empty() { - pb.println(output.trim_end().to_string()); + pb.println(output.trim_end()); } } } |
