mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
.
This commit is contained in:
parent
63f509f492
commit
46b4f89c92
28 changed files with 69 additions and 67 deletions
|
@ -507,7 +507,7 @@ impl ImportGroup {
|
|||
PathSegmentKind::SelfKw => ImportGroup::ThisModule,
|
||||
PathSegmentKind::SuperKw => ImportGroup::SuperModule,
|
||||
PathSegmentKind::CrateKw => ImportGroup::ThisCrate,
|
||||
PathSegmentKind::Name(name) => match name.text().as_str() {
|
||||
PathSegmentKind::Name(name) => match name.text() {
|
||||
"std" => ImportGroup::Std,
|
||||
"core" => ImportGroup::Std,
|
||||
_ => ImportGroup::ExternCrate,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue