aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_cargo_watch/src/lib.rs
diff options
context:
space:
mode:
authorVeetaha <[email protected]>2020-03-21 23:27:03 +0000
committerGitHub <[email protected]>2020-03-21 23:27:03 +0000
commit788b29d343a3f4af6658e385621f1d1451d529e2 (patch)
tree092b68281d4c06aed7342a7015f4eddb41b69090 /crates/ra_cargo_watch/src/lib.rs
parent84143426409ac0d62b19d0525ab8900a1ba8692a (diff)
Smol self-nit
Diffstat (limited to 'crates/ra_cargo_watch/src/lib.rs')
-rw-r--r--crates/ra_cargo_watch/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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(
318 Ok(exit_code) if !exit_code.success() && !read_at_least_one_message => { 318 Ok(exit_code) if !exit_code.success() && !read_at_least_one_message => {
319 // FIXME: Read the stderr to display the reason, see `read2()` reference in PR comment: 319 // FIXME: Read the stderr to display the reason, see `read2()` reference in PR comment:
320 // https://github.com/rust-analyzer/rust-analyzer/pull/3632#discussion_r395605298 320 // https://github.com/rust-analyzer/rust-analyzer/pull/3632#discussion_r395605298
321 format!("the command produced no valid metadata:\n cargo {}", args.join(" ")) 321 format!("the command produced no valid metadata: cargo {}", args.join(" "))
322 } 322 }
323 Err(err) => format!("io error: {:?}", err), 323 Err(err) => format!("io error: {:?}", err),
324 Ok(_) => return Ok(()), 324 Ok(_) => return Ok(()),