Smol self-nit

This commit is contained in:
Veetaha 2020-03-22 01:27:03 +02:00 committed by GitHub
parent 8414342640
commit 788b29d343
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(()),