about summary refs log tree commit diff
diff options
context:
space:
mode:
authorandylokandy <andylokandy@hotmail.com>2025-02-21 21:31:23 +0800
committerandylokandy <andylokandy@hotmail.com>2025-02-21 21:31:23 +0800
commit2b6ea13c53521231a98ec778526309dd6bb72f76 (patch)
treeced1557ead7166a883101c7656a9a703b3db2a19
parent629fa76c14c8022310a6e38887a35fd49599015f (diff)
fix
-rw-r--r--src/tools/rust-analyzer/crates/rust-analyzer/src/lsp/to_proto.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/rust-analyzer/src/lsp/to_proto.rs b/src/tools/rust-analyzer/crates/rust-analyzer/src/lsp/to_proto.rs
index 51ae85b1dbb..446549c9070 100644
--- a/src/tools/rust-analyzer/crates/rust-analyzer/src/lsp/to_proto.rs
+++ b/src/tools/rust-analyzer/crates/rust-analyzer/src/lsp/to_proto.rs
@@ -1884,7 +1884,7 @@ pub(crate) fn make_update_runnable(
     r.environment.extend(update_test.env().iter().map(|(k, v)| (k.to_string(), v.to_string())));
 
     if update_test.insta {
-        r.cargo_args.insert(0, "insta".to_string());
+        r.cargo_args.insert(0, "insta".to_owned());
     }
 
     Some(runnable)