We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dd8f8e commit c34571cCopy full SHA for c34571c
crates/ra_cargo_watch/src/lib.rs
@@ -9,6 +9,7 @@ use lsp_types::{
9
};
10
use std::{
11
collections::HashMap,
12
+ io::BufReader,
13
path::PathBuf,
14
process::{Command, Stdio},
15
sync::Arc,
@@ -347,7 +348,9 @@ impl WatchThread {
347
348
// which will break out of the loop, and continue the shutdown
349
let _ = message_send.send(CheckEvent::Begin);
350
- for message in cargo_metadata::parse_messages(command.stdout.take().unwrap()) {
351
+ for message in
352
+ cargo_metadata::parse_messages(BufReader::new(command.stdout.take().unwrap()))
353
+ {
354
let message = match message {
355
Ok(message) => message,
356
Err(err) => {
0 commit comments