diff options
author | Paul Daniel Faria <[email protected]> | 2020-06-08 17:10:23 +0100 |
---|---|---|
committer | Paul Daniel Faria <[email protected]> | 2020-06-08 17:10:23 +0100 |
commit | dbceaf522b717bd0dda89f6af1684ebd8e033aee (patch) | |
tree | 4a705fb7cc150dd5ad6f13431ac1719455ba6cbf /crates/rust-analyzer | |
parent | 9c35f135b9c872e904ee1e838cfa69fc5745c45f (diff) |
Use Option<&str> for target instead of Option<&String>
Diffstat (limited to 'crates/rust-analyzer')
-rw-r--r-- | crates/rust-analyzer/src/global_state.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/global_state.rs b/crates/rust-analyzer/src/global_state.rs index 0b52030cf..73b0f881d 100644 --- a/crates/rust-analyzer/src/global_state.rs +++ b/crates/rust-analyzer/src/global_state.rs | |||
@@ -160,7 +160,7 @@ impl GlobalState { | |||
160 | }; | 160 | }; |
161 | for ws in workspaces.iter() { | 161 | for ws in workspaces.iter() { |
162 | crate_graph.extend(ws.to_crate_graph( | 162 | crate_graph.extend(ws.to_crate_graph( |
163 | config.cargo.target.as_ref(), | 163 | config.cargo.target.as_deref(), |
164 | &extern_source_roots, | 164 | &extern_source_roots, |
165 | &proc_macro_client, | 165 | &proc_macro_client, |
166 | &mut load, | 166 | &mut load, |