diff options
| author | Aljoscha Meyer <AljoschaMeyer@users.noreply.github.com> | 2024-07-06 09:09:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-06 09:09:10 +0200 |
| commit | 2c14dd3b12d29749465a84429a4643da5c4e3934 (patch) | |
| tree | e6e8381f290f3969a7e9121220bb853a5ee4e744 /compiler/rustc_codegen_gcc/example/std_example.rs | |
| parent | 51917e2e69702e5752bce6a4f3bfd285d0f4ae39 (diff) | |
| download | rust-2c14dd3b12d29749465a84429a4643da5c4e3934.tar.gz rust-2c14dd3b12d29749465a84429a4643da5c4e3934.zip | |
Add missing try_new_uninit_slice_in and try_new_zeroed_slice_in
The methods for fallible slice allocation in a given allocator were missing, which was an oversight according to https://github.com/rust-lang/wg-allocators/issues/130 This PR adds them as `try_new_uninit_slice_in` and `try_new_zeroed_slice_in`. Also adds missing punctuation to the doc comments of ` try_new_uninit_slice` and `try_new_zeroed_slice`
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions
