diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2021-11-26 13:36:39 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2021-11-26 19:30:35 +1100 |
| commit | 026edbb4ef85ef3d38876548a771b7c72c87803f (patch) | |
| tree | 6859234c043c8ae1db171f6bce7fcb94441a7a81 /library/alloc/src/raw_vec/tests.rs | |
| parent | 8a48b376d559f26a9b8fc1f1d597acb0bc0a51f9 (diff) | |
| download | rust-026edbb4ef85ef3d38876548a771b7c72c87803f.tar.gz rust-026edbb4ef85ef3d38876548a771b7c72c87803f.zip | |
Use unchecked construction in `Layout::pad_to_align`.
Other, similar methods for `Layout` do likewise, and there's already an `unwrap()` around the result demonstrating the safety.
Diffstat (limited to 'library/alloc/src/raw_vec/tests.rs')
0 files changed, 0 insertions, 0 deletions
