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(
737737 let root_pkg =
738738 rustc_workspace. packages ( ) . find ( |package| rustc_workspace[ * package] . name == "rustc_driver" ) ;
739739 // 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.
741741 if let Some ( root_pkg) = root_pkg {
742742 // Iterate through every crate in the dependency subtree of rustc_driver using BFS
743743 let mut queue = VecDeque :: new ( ) ;
@@ -822,7 +822,7 @@ fn handle_rustc_crates(
822822 for ( from, _) in pkg_crates. get ( & pkg) . into_iter ( ) . flatten ( ) {
823823 // Avoid creating duplicate dependencies
824824 // 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 `
826826 // instead of the one from `crates.io`
827827 if !crate_graph[ * from] . dependencies . iter ( ) . any ( |d| d. name == name) {
828828 add_dep ( crate_graph, * from, name. clone ( ) , to) ;
You can’t perform that action at this time.
0 commit comments