mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
op_ref
This commit is contained in:
parent
0df30499d0
commit
4858a3784d
4 changed files with 3 additions and 6 deletions
|
@ -368,7 +368,7 @@ impl CargoWorkspace {
|
|||
name,
|
||||
root: AbsPathBuf::assert(src_path.into()),
|
||||
kind: TargetKind::new(&kind),
|
||||
is_proc_macro: &*kind == ["proc-macro"],
|
||||
is_proc_macro: *kind == ["proc-macro"],
|
||||
required_features,
|
||||
});
|
||||
pkg_data.targets.push(tgt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue