diff options
| author | Skyler Calaman <54462713+Blckbrry-Pi@users.noreply.github.com> | 2021-11-16 11:29:26 -0500 |
|---|---|---|
| committer | Skyler Calaman <54462713+Blckbrry-Pi@users.noreply.github.com> | 2021-11-16 11:29:26 -0500 |
| commit | c52b389b161e1a403647a6ca482a9ef8fc391549 (patch) | |
| tree | 452e6f73ab91adde4d4de1e056423a14ee04aaeb /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 5b3c00f012dade7a1586cc8cca4b9e4a20888315 (diff) | |
| download | rust-c52b389b161e1a403647a6ca482a9ef8fc391549.tar.gz rust-c52b389b161e1a403647a6ca482a9ef8fc391549.zip | |
Fix readability suggestions.
1. Make the lifetime contained in LateContext `'tcx`. 2. Fix `'txc` to `'tcx` because it was a typo. 3. Refactor `IterFunctionVisitor`'s `visit_block` method to be more readable. 4. Replace uses of `rustc_middle::ty::TyKind` with `rustc::middle::ty`, and remove the `#[allow(...)]`. (Thank you llogiq for all these suggestions!)
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
