Skip to content

Commit 9f1adf8

Browse files
author
Veetaha
committed
ra_project_model: migrate to Sysroot::alloc()
1 parent 5e78036 commit 9f1adf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ra_project_model/src/sysroot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ impl Sysroot {
6666
}
6767
}
6868
}
69-
if let Some(alloc) = sysroot.by_name("alloc") {
69+
if let Some(alloc) = sysroot.alloc() {
7070
if let Some(core) = sysroot.core() {
7171
sysroot.crates[alloc].deps.push(core);
7272
}

0 commit comments

Comments
 (0)