From 8597af8ed4ebed2e86e379a5a440b37373ace76d Mon Sep 17 00:00:00 2001 From: Evgenii P Date: Sun, 4 Aug 2019 08:08:46 +0700 Subject: Idiomatic return --- crates/ra_hir/src/source_binder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates') 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 { }; let canonical_ty = crate::ty::Canonical { value: ty, num_vars: 0 }; - return implements_trait(&canonical_ty, db, &self.resolver, krate, std_future_trait); + implements_trait(&canonical_ty, db, &self.resolver, krate, std_future_trait) } #[cfg(test)] -- cgit v1.2.3