diff options
author | ShuiRuTian <[email protected]> | 2021-01-13 04:10:45 +0000 |
---|---|---|
committer | ShuiRuTian <[email protected]> | 2021-01-13 04:10:45 +0000 |
commit | 76e65890163c9d6a4105e6c52143ae81f805ba82 (patch) | |
tree | b087b558015be3f49906d74228bcee9783ed76e2 | |
parent | 6a15876fc4127f0fb912385917054dbf478416e6 (diff) |
unwrap.
-rw-r--r-- | crates/rust-analyzer/tests/rust-analyzer/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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() {} | |||
785 | "documentChanges": [ | 785 | "documentChanges": [ |
786 | { | 786 | { |
787 | "textDocument": { | 787 | "textDocument": { |
788 | "uri": format!("file://{}", tmp_dir_path.join("src").join("lib.rs")), | 788 | "uri": format!("file://{}", tmp_dir_path.join("src").join("lib.rs").to_str().unwrap()), |
789 | "version": null | 789 | "version": null |
790 | }, | 790 | }, |
791 | "edits": [ | 791 | "edits": [ |
@@ -846,7 +846,7 @@ fn main() {} | |||
846 | "documentChanges": [ | 846 | "documentChanges": [ |
847 | { | 847 | { |
848 | "textDocument": { | 848 | "textDocument": { |
849 | "uri": format!("file://{}", tmp_dir_path.join("src").join("lib.rs")), | 849 | "uri": format!("file://{}", tmp_dir_path.join("src").join("lib.rs").to_str().unwrap()), |
850 | "version": null | 850 | "version": null |
851 | }, | 851 | }, |
852 | "edits": [ | 852 | "edits": [ |