on master help sign in
format
commit809990a3a4a7a9ccfd169a765c7f0e8e1f2ccf1b authorDmitry Sharshakov <d3dx12.xx@gmail.com> dateSat 14 Aug 2021, 13:09 (5 years ago) parentd4c215b
1 file changed+10−4
helix-dap/src/client.rs+10−4
helix-dap/src/client.rs+10−4
@@ -595,7 +595,8 @@ impl Client {
595595
596596 let response = self
597597 .request("stackTrace".to_owned(), to_value(args).ok(), true)
598− .await?.unwrap();
598+ .await?
599+ .unwrap();
599600
600601 let body: StackTraceResponseBody = from_value(response.body.unwrap()).unwrap();
601602
@@ -603,7 +604,10 @@ impl Client {
603604 }
604605
605606 pub async fn threads(&mut self) -> Result<Vec<Thread>> {
606− let response = self.request("threads".to_owned(), None, true).await?.unwrap();
607+ let response = self
608+ .request("threads".to_owned(), None, true)
609+ .await?
610+ .unwrap();
607611
608612 let body: ThreadsResponseBody = from_value(response.body.unwrap()).unwrap();
609613
@@ -615,7 +619,8 @@ impl Client {
615619
616620 let response = self
617621 .request("scopes".to_owned(), to_value(args).ok(), true)
618− .await?.unwrap();
622+ .await?
623+ .unwrap();
619624
620625 let body: ScopesResponseBody = from_value(response.body.unwrap()).unwrap();
621626
@@ -633,7 +638,8 @@ impl Client {
633638
634639 let response = self
635640 .request("variables".to_owned(), to_value(args).ok(), true)
636− .await?.unwrap();
641+ .await?
642+ .unwrap();
637643
638644 let body: VariablesResponseBody = from_value(response.body.unwrap()).unwrap();
639645