aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir
diff options
context:
space:
mode:
authorEvgenii P <[email protected]>2019-08-04 02:45:14 +0100
committerEvgenii P <[email protected]>2019-08-04 02:45:14 +0100
commit9f9c5aa65914763f5a9ff80230544fea48cbcdf1 (patch)
tree9b4cf51a153190292719d86856516bc6ca471c5c /crates/ra_hir
parent8597af8ed4ebed2e86e379a5a440b37373ace76d (diff)
rustfmt
Diffstat (limited to 'crates/ra_hir')
-rw-r--r--crates/ra_hir/src/source_binder.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/crates/ra_hir/src/source_binder.rs b/crates/ra_hir/src/source_binder.rs
index 656061086..e86716d74 100644
--- a/crates/ra_hir/src/source_binder.rs
+++ b/crates/ra_hir/src/source_binder.rs
@@ -427,9 +427,7 @@ impl SourceAnalyzer {
427 427
428 let std_future_trait = 428 let std_future_trait =
429 match self.resolver.resolve_path_segments(db, &std_future_path).into_fully_resolved() { 429 match self.resolver.resolve_path_segments(db, &std_future_path).into_fully_resolved() {
430 PerNs { types: Some(Resolution::Def(ModuleDef::Trait(trait_))), .. } => { 430 PerNs { types: Some(Resolution::Def(ModuleDef::Trait(trait_))), .. } => trait_,
431 trait_
432 }
433 _ => return false, 431 _ => return false,
434 }; 432 };
435 433