mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
rustfmt
This commit is contained in:
parent
8597af8ed4
commit
9f9c5aa659
1 changed files with 1 additions and 3 deletions
|
@ -427,9 +427,7 @@ impl SourceAnalyzer {
|
|||
|
||||
let std_future_trait =
|
||||
match self.resolver.resolve_path_segments(db, &std_future_path).into_fully_resolved() {
|
||||
PerNs { types: Some(Resolution::Def(ModuleDef::Trait(trait_))), .. } => {
|
||||
trait_
|
||||
}
|
||||
PerNs { types: Some(Resolution::Def(ModuleDef::Trait(trait_))), .. } => trait_,
|
||||
_ => return false,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue