diff options
author | Evgenii P <[email protected]> | 2019-08-04 02:08:46 +0100 |
---|---|---|
committer | Evgenii P <[email protected]> | 2019-08-04 02:08:46 +0100 |
commit | 8597af8ed4ebed2e86e379a5a440b37373ace76d (patch) | |
tree | 5a5acbd82e9bf8f690ddd351ba5693b93b9265de /crates | |
parent | d610adfc2bfe3d4e9fec61b7a5bc02cfea503384 (diff) |
Idiomatic return
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_hir/src/source_binder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_hir/src/source_binder.rs b/crates/ra_hir/src/source_binder.rs index 2c4cedd8b..656061086 100644 --- a/crates/ra_hir/src/source_binder.rs +++ b/crates/ra_hir/src/source_binder.rs | |||
@@ -439,7 +439,7 @@ impl SourceAnalyzer { | |||
439 | }; | 439 | }; |
440 | 440 | ||
441 | let canonical_ty = crate::ty::Canonical { value: ty, num_vars: 0 }; | 441 | let canonical_ty = crate::ty::Canonical { value: ty, num_vars: 0 }; |
442 | return implements_trait(&canonical_ty, db, &self.resolver, krate, std_future_trait); | 442 | implements_trait(&canonical_ty, db, &self.resolver, krate, std_future_trait) |
443 | } | 443 | } |
444 | 444 | ||
445 | #[cfg(test)] | 445 | #[cfg(test)] |