diff options
| author | Maybe Waffle <waffle.lapkin@gmail.com> | 2022-07-19 02:15:56 +0400 |
|---|---|---|
| committer | Maybe Waffle <waffle.lapkin@gmail.com> | 2022-07-19 02:15:56 +0400 |
| commit | 2edad7d77c91145b594ac80c3dc7906998b7674a (patch) | |
| tree | e6c885e01e980ca89f3ea98477517654a89ed388 /compiler/rustc_llvm/llvm-wrapper | |
| parent | da2752e00f0139fb13282b2bd97aa0f8c665aee9 (diff) | |
| download | rust-2edad7d77c91145b594ac80c3dc7906998b7674a.tar.gz rust-2edad7d77c91145b594ac80c3dc7906998b7674a.zip | |
Apply suggestions from the review
- Use `expr.hir_id.owner` instead of `self.tcx.parent_module(expr.hir_id)` - Use `.type_at()` instead of `.first()` + `.expect_ty()` - Use single `.find()` with `&&` condition Co-authored-by: Michael Goulet <michael@errs.io>
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions
