mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
a few clippy fixes
This commit is contained in:
parent
e52d47a3b8
commit
35de195c41
5 changed files with 9 additions and 5 deletions
|
@ -297,7 +297,7 @@ impl CargoActor {
|
|||
read_at_least_one_message = true;
|
||||
|
||||
// Try to deserialize a message from Cargo or Rustc.
|
||||
let mut deserializer = serde_json::Deserializer::from_str(&line);
|
||||
let mut deserializer = serde_json::Deserializer::from_str(line);
|
||||
deserializer.disable_recursion_limit();
|
||||
if let Ok(message) = JsonMessage::deserialize(&mut deserializer) {
|
||||
match message {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue