modular icon indicating copy to clipboard operation
modular copied to clipboard

[stdlib] Rename `uninitialized` -> `unsafe_uninitialized` in `InlineArray`

Open gabrieldemarmiesse opened this issue 1 year ago • 1 comments

Unsafe methods should be explicit in the code. Uninitialized memory is highly unsafe (can't run destructor on it, etc) , thus it should have a name that reflects it.

gabrieldemarmiesse avatar May 14 '24 21:05 gabrieldemarmiesse

✅🟣 This contribution has been merged 🟣✅

Your pull request has been merged to the internal upstream Mojo sources. It will be reflected here in the Mojo repository on the nightly branch during the next Mojo nightly release, typically within the next 24-48 hours.

We use Copybara to merge external contributions, click here to learn more.

modularbot avatar May 15 '24 15:05 modularbot

Landed in 0c12d86753aaa87e6095bdd04735f837cc9f7ee9! Thank you for your contribution 🎉

modularbot avatar May 16 '24 07:05 modularbot