From 76e65890163c9d6a4105e6c52143ae81f805ba82 Mon Sep 17 00:00:00 2001 From: ShuiRuTian <158983297@qq.com> Date: Wed, 13 Jan 2021 12:10:45 +0800 Subject: unwrap. --- crates/rust-analyzer/tests/rust-analyzer/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates') diff --git a/crates/rust-analyzer/tests/rust-analyzer/main.rs b/crates/rust-analyzer/tests/rust-analyzer/main.rs index 91e502d8a..c4554e9d3 100644 --- a/crates/rust-analyzer/tests/rust-analyzer/main.rs +++ b/crates/rust-analyzer/tests/rust-analyzer/main.rs @@ -785,7 +785,7 @@ fn main() {} "documentChanges": [ { "textDocument": { - "uri": format!("file://{}", tmp_dir_path.join("src").join("lib.rs")), + "uri": format!("file://{}", tmp_dir_path.join("src").join("lib.rs").to_str().unwrap()), "version": null }, "edits": [ @@ -846,7 +846,7 @@ fn main() {} "documentChanges": [ { "textDocument": { - "uri": format!("file://{}", tmp_dir_path.join("src").join("lib.rs")), + "uri": format!("file://{}", tmp_dir_path.join("src").join("lib.rs").to_str().unwrap()), "version": null }, "edits": [ -- cgit v1.2.3