From 788b29d343a3f4af6658e385621f1d1451d529e2 Mon Sep 17 00:00:00 2001 From: Veetaha Date: Sun, 22 Mar 2020 01:27:03 +0200 Subject: Smol self-nit --- crates/ra_cargo_watch/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ra_cargo_watch/src/lib.rs b/crates/ra_cargo_watch/src/lib.rs index eb8ba4da8..362d32010 100644 --- a/crates/ra_cargo_watch/src/lib.rs +++ b/crates/ra_cargo_watch/src/lib.rs @@ -318,7 +318,7 @@ pub fn run_cargo( Ok(exit_code) if !exit_code.success() && !read_at_least_one_message => { // FIXME: Read the stderr to display the reason, see `read2()` reference in PR comment: // https://github.com/rust-analyzer/rust-analyzer/pull/3632#discussion_r395605298 - format!("the command produced no valid metadata:\n cargo {}", args.join(" ")) + format!("the command produced no valid metadata: cargo {}", args.join(" ")) } Err(err) => format!("io error: {:?}", err), Ok(_) => return Ok(()), -- cgit v1.2.3