summaryrefslogtreecommitdiff
path: root/helix-dap/src/client.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-08-19 02:24:12 +0000
committerBlaž Hrastnik2021-08-20 04:48:33 +0000
commit8759dc7e3389a6215f6a28e3e89e4a4912aca3c4 (patch)
tree0656c08558849ca507fcda71b630666e69d4dd52 /helix-dap/src/client.rs
parent86102a651f3b3bf1c8965ca9b44b578694f7ce3e (diff)
Add Default to some structs
Diffstat (limited to 'helix-dap/src/client.rs')
-rw-r--r--helix-dap/src/client.rs8
1 files changed, 3 insertions, 5 deletions
diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs
index 9b1664b3..487022cf 100644
--- a/helix-dap/src/client.rs
+++ b/helix-dap/src/client.rs
@@ -6,11 +6,9 @@ use crate::{
pub use log::{error, info};
use std::{
collections::HashMap,
- net::{IpAddr, Ipv4Addr},
+ net::{IpAddr, Ipv4Addr, SocketAddr},
+ path::PathBuf,
process::Stdio,
-};
-use std::{
- net::SocketAddr,
sync::{
atomic::{AtomicU64, Ordering},
Arc,
@@ -160,7 +158,7 @@ impl Client {
),
},
None => {
- info!("unhandled event");
+ info!("unhandled event {}", name);
// client_tx.send(Payload::Event(ev)).expect("Failed to send");
}
}