mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Use Option<&str> for target instead of Option<&String>
This commit is contained in:
parent
9c35f135b9
commit
dbceaf522b
2 changed files with 4 additions and 4 deletions
|
@ -160,7 +160,7 @@ impl GlobalState {
|
|||
};
|
||||
for ws in workspaces.iter() {
|
||||
crate_graph.extend(ws.to_crate_graph(
|
||||
config.cargo.target.as_ref(),
|
||||
config.cargo.target.as_deref(),
|
||||
&extern_source_roots,
|
||||
&proc_macro_client,
|
||||
&mut load,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue