summaryrefslogtreecommitdiff
path: root/helix-dap/examples
diff options
context:
space:
mode:
Diffstat (limited to 'helix-dap/examples')
-rw-r--r--helix-dap/examples/dap-dlv.rs2
-rw-r--r--helix-dap/examples/dap-lldb.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/helix-dap/examples/dap-dlv.rs b/helix-dap/examples/dap-dlv.rs
index bffca676..bb5b1963 100644
--- a/helix-dap/examples/dap-dlv.rs
+++ b/helix-dap/examples/dap-dlv.rs
@@ -56,7 +56,7 @@ pub async fn main() -> Result<()> {
"breakpoints: {:#?}",
client
.set_breakpoints(
- "/tmp/godebug/main.go".to_owned(),
+ "/tmp/godebug/main.go".into(),
vec![SourceBreakpoint {
line: 8,
column: Some(2),
diff --git a/helix-dap/examples/dap-lldb.rs b/helix-dap/examples/dap-lldb.rs
index c9a99548..5823b8bf 100644
--- a/helix-dap/examples/dap-lldb.rs
+++ b/helix-dap/examples/dap-lldb.rs
@@ -56,7 +56,7 @@ pub async fn main() -> Result<()> {
"breakpoints: {:#?}",
client
.set_breakpoints(
- "/tmp/cdebug/main.c".to_owned(),
+ "/tmp/cdebug/main.c".into(),
vec![SourceBreakpoint {
line: 6,
column: Some(2),