diff options
author | Dmitry Sharshakov | 2021-08-13 17:33:07 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-08-20 04:43:54 +0000 |
commit | aac586b5464fef5f850d9c80bc3c9467e255977d (patch) | |
tree | 7db51a022746f5b778993031b58b0456e3f07619 /helix-dap/examples/dap-basic.rs | |
parent | 6bb653f820998a9a33db3dabf815a761b1c97bfa (diff) |
types: simplify working with client's launch args
Diffstat (limited to 'helix-dap/examples/dap-basic.rs')
-rw-r--r-- | helix-dap/examples/dap-basic.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/helix-dap/examples/dap-basic.rs b/helix-dap/examples/dap-basic.rs index 35664458..82e14702 100644 --- a/helix-dap/examples/dap-basic.rs +++ b/helix-dap/examples/dap-basic.rs @@ -33,10 +33,7 @@ pub async fn main() -> Result<()> { program: "/tmp/godebug/main".to_owned(), }; - println!( - "launch: {:?}", - client.launch(serde_json::to_value(args)?).await - ); + println!("launch: {:?}", client.launch(args).await); println!( "breakpoints: {:#?}", |