mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Idiomatic return
This commit is contained in:
parent
d610adfc2b
commit
8597af8ed4
1 changed files with 1 additions and 1 deletions
|
@ -439,7 +439,7 @@ impl SourceAnalyzer {
|
||||||
};
|
};
|
||||||
|
|
||||||
let canonical_ty = crate::ty::Canonical { value: ty, num_vars: 0 };
|
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)]
|
#[cfg(test)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue