From aac586b5464fef5f850d9c80bc3c9467e255977d Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Fri, 13 Aug 2021 20:33:07 +0300 Subject: types: simplify working with client's launch args --- helix-dap/examples/dap-basic.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'helix-dap/examples') 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: {:#?}", -- cgit v1.2.3-70-g09d2