This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -737,7 +737,7 @@ fn handle_rustc_crates(
737
737
let root_pkg =
738
738
rustc_workspace. packages ( ) . find ( |package| rustc_workspace[ * package] . name == "rustc_driver" ) ;
739
739
// The rustc workspace might be incomplete (such as if rustc-dev is not
740
- // installed for the current toolchain) and `rustcSource ` is set to discover.
740
+ // installed for the current toolchain) and `rustc_source ` is set to discover.
741
741
if let Some ( root_pkg) = root_pkg {
742
742
// Iterate through every crate in the dependency subtree of rustc_driver using BFS
743
743
let mut queue = VecDeque :: new ( ) ;
@@ -822,7 +822,7 @@ fn handle_rustc_crates(
822
822
for ( from, _) in pkg_crates. get ( & pkg) . into_iter ( ) . flatten ( ) {
823
823
// Avoid creating duplicate dependencies
824
824
// This avoids the situation where `from` depends on e.g. `arrayvec`, but
825
- // `rust_analyzer` thinks that it should use the one from the `rustcSource `
825
+ // `rust_analyzer` thinks that it should use the one from the `rustc_source `
826
826
// instead of the one from `crates.io`
827
827
if !crate_graph[ * from] . dependencies . iter ( ) . any ( |d| d. name == name) {
828
828
add_dep ( crate_graph, * from, name. clone ( ) , to) ;
You can’t perform that action at this time.
0 commit comments