diff options
author | Aleksey Kladov <[email protected]> | 2020-07-01 09:03:07 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-01 09:03:07 +0100 |
commit | 80386ca5be78d8ea65483df3edeec1a89b09a5a3 (patch) | |
tree | 6e58b419e0d877c4ab9f784ab85e6ca564c1cf04 /crates/ra_ide | |
parent | 307c6fec618d5e509c754362687253ef44bb5f3f (diff) |
Use Strings for display names
Diffstat (limited to 'crates/ra_ide')
-rw-r--r-- | crates/ra_ide/src/mock_analysis.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide/src/mock_analysis.rs b/crates/ra_ide/src/mock_analysis.rs index db6d50694..a393d3dba 100644 --- a/crates/ra_ide/src/mock_analysis.rs +++ b/crates/ra_ide/src/mock_analysis.rs | |||
@@ -130,7 +130,7 @@ impl MockAnalysis { | |||
130 | let other_crate = crate_graph.add_crate_root( | 130 | let other_crate = crate_graph.add_crate_root( |
131 | file_id, | 131 | file_id, |
132 | edition, | 132 | edition, |
133 | Some(CrateName::new(crate_name).unwrap()), | 133 | Some(crate_name.to_string()), |
134 | cfg, | 134 | cfg, |
135 | env, | 135 | env, |
136 | Default::default(), | 136 | Default::default(), |