diff options
| author | Scott McMurray <scottmcm@users.noreply.github.com> | 2023-04-16 04:01:34 -0700 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2023-04-16 04:01:34 -0700 |
| commit | 99fd9cb6971fc68d6865c2e2cf7722030001f609 (patch) | |
| tree | f7c339002299df31b2607a6fa245691edfc7e643 /compiler/rustc_mir_transform/src/check_alignment.rs | |
| parent | 2a711152615ad9294dc0e5ee6885c8e9bb8418a9 (diff) | |
| download | rust-99fd9cb6971fc68d6865c2e2cf7722030001f609.tar.gz rust-99fd9cb6971fc68d6865c2e2cf7722030001f609.zip | |
Remove the loop in `Align::from_bytes`
Perf is almost certainly irrelevant, but might as well simplify it, since `trailing_zeros` does exactly what's needed.
Diffstat (limited to 'compiler/rustc_mir_transform/src/check_alignment.rs')
0 files changed, 0 insertions, 0 deletions
