| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-05-29 | split libcore::mem into multiple files | Ralf Jung | -1406/+0 | |
| 2019-05-28 | Update src/libcore/mem.rs | Ralf Jung | -1/+1 | |
| Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com> | ||||
| 2019-05-28 | mention that MaybeUninit is a bit like Option | Ralf Jung | -0/+3 | |
| 2019-05-25 | MaybeUninit doctest: remove unnecessary type ascription | Ralf Jung | -2/+2 | |
| 2019-05-21 | adjust deprecation date of mem::uninitialized | Ralf Jung | -1/+1 | |
| 2019-05-20 | Document layout guarantee of MaybeUninit | Peter Todd | -0/+22 | |
| 2019-05-20 | elliminate mem::uninitialize from docs in libcore | Ralf Jung | -56/+0 | |
| 2019-05-20 | add out-pointer example | Ralf Jung | -1/+25 | |
| 2019-05-20 | apply feedback | Ralf Jung | -28/+36 | |
| 2019-05-20 | stabilize core parts of MaybeUninit and deprecate mem::uninitialized in the ↵ | Ralf Jung | -165/+135 | |
| future Also expand the documentation a bit | ||||
| 2019-05-07 | Rollup merge of #60609 - spastorino:be-explicit-on-mem-replace-doc, r=Centril | Mazdak Farrokhzad | -2/+2 | |
| Be a bit more explicit asserting over the vec rather than the len | ||||
| 2019-05-07 | Be a bit more explicit asserting over the vec rather than the len | Santiago Pastorino | -2/+2 | |
| 2019-04-29 | const-stabilize std::mem::needs_drop | Yuki OKUSHI | -1/+0 | |
| 2019-04-19 | libcore: deny more... | Mazdak Farrokhzad | -1/+1 | |
| 2019-04-18 | libcore => 2018 | Taiki Endo | -9/+9 | |
| 2019-04-12 | MaybeUninit: remove deprecated functions | Ralf Jung | -34/+0 | |
| 2019-03-26 | adjust MaybeUninit API to discussions | Ralf Jung | -38/+72 | |
| uninitialized -> uninit into_initialized -> assume_init read_initialized -> read set -> write | ||||
| 2019-03-11 | Improvements to comments in libstd, libcore, liballoc. | Alexander Regueiro | -3/+6 | |
| 2019-03-09 | Rollup merge of #58660 - RalfJung:maybe-uninit, r=Centril | Mazdak Farrokhzad | -29/+224 | |
| MaybeUninit: add read_initialized, add examples This adds a new `read_initialized` method, similar to suggestions by @Amanieu and @shepmaster. I also added examples to this and other methods. | ||||
| 2019-03-06 | Apply suggestions from code review | Ralf Jung | -1/+1 | |
| 2019-03-06 | Apply suggestions from code review | Mazdak Farrokhzad | -3/+3 | |
| Co-Authored-By: RalfJung <post@ralfj.de> | ||||
| 2019-02-28 | Update src/libcore/mem.rs | Mazdak Farrokhzad | -1/+1 | |
| Co-Authored-By: RalfJung <post@ralfj.de> | ||||
| 2019-02-27 | improve readability | Ralf Jung | -1/+1 | |
| 2019-02-27 | ManuallyDrop != MaybeUninit | Ralf Jung | -0/+8 | |
| 2019-02-25 | heading # Unsafety => # Safety in stdlib docs. | Mazdak Farrokhzad | -3/+3 | |
| 2019-02-24 | prefer into_initialized over read_initialited | Ralf Jung | -0/+3 | |
| 2019-02-24 | show how to set with ptr::write | Ralf Jung | -4/+5 | |
| 2019-02-24 | remark that the rules are unfinished | Ralf Jung | -0/+4 | |
| 2019-02-23 | fix link | Ralf Jung | -0/+2 | |
| 2019-02-23 | expand type name | Ralf Jung | -17/+17 | |
| 2019-02-23 | Apply suggestions from code review | Mazdak Farrokhzad | -18/+19 | |
| Co-Authored-By: RalfJung <post@ralfj.de> | ||||
| 2019-02-22 | make MaybeUninit Copy | Ralf Jung | -0/+10 | |
| 2019-02-22 | examples for MaybeUninit::zeroed | Ralf Jung | -0/+29 | |
| 2019-02-22 | examples for as[_mut]_ptr | Ralf Jung | -0/+53 | |
| 2019-02-22 | misc tweaks | Ralf Jung | -12/+22 | |
| 2019-02-22 | also add examples to MaybeUninit::into_initialized | Ralf Jung | -1/+28 | |
| 2019-02-22 | Add MaybeUninit::read_uninitialized | Ralf Jung | -0/+55 | |
| Also remove a no-longer accurate comments | ||||
| 2019-02-18 | Auto merge of #58373 - RalfJung:maybe-uninit, r=gnzlbg | bors | -8/+0 | |
| update stdsimd and remove now-unused MaybeUninit::into_inner That's a huge diff for stdsimd... Cc @gnzlbg @alexcrichton | ||||
| 2019-02-16 | Rollup merge of #58468 - RalfJung:maybe-uninit-split, r=Centril | kennytm | -27/+49 | |
| split MaybeUninit into several features, expand docs a bit This splits the `maybe_uninit` feature gate into several: * `maybe_uninit` for what we will hopefully stabilize soon-ish. * `maybe_uninit_ref` for creating references into `MaybeUninit`, for which the rules are not yet clear. * `maybe_uninit_slice` for handling slices of `MaybeUninit`, which needs more API design work. * `maybe_uninit_array` for creating arrays of `MaybeUninit` using a macro (because we don't have https://github.com/rust-lang/rust/issues/49147 yet). Is that an okay thing to do? The goal is to help people avoid APIs we do not want to stabilize yet. I used this to make sure rustc itself does not use `get_ref` and `get_mut`. I also extended the docs to advise against uninitialized integers -- again this is something for which the rules are still being discussed. | ||||
| 2019-02-14 | split MaybeUninit into several features, expand docs a bit | Ralf Jung | -27/+49 | |
| 2019-02-14 | remove MaybeUninit::into_inner | Ralf Jung | -8/+0 | |
| 2019-02-14 | Rollup merge of #57856 - lzutao:fix-old-first-edition, r=steveklabnik | Mazdak Farrokhzad | -1/+1 | |
| Convert old first edition links to current edition one r? @steveklabnik | ||||
| 2019-02-13 | Convert old doc links to current edition | Lzu Tao | -1/+1 | |
| Use footnote style to bypass the tidy check | ||||
| 2019-02-10 | libs: doc comments | Alexander Regueiro | -20/+24 | |
| 2019-02-10 | tests: doc comments | Alexander Regueiro | -2/+2 | |
| 2019-02-10 | Auto merge of #58129 - RalfJung:maybe-uninit, r=cramertj | bors | -7/+53 | |
| MaybeUninit: some docs, rename into_inner -> into_initialized, return &mut from set | ||||
| 2019-02-10 | it is okay not to use into_inner | Ralf Jung | -0/+1 | |
| 2019-02-07 | Rollup merge of #57848 - jrvanwhy:transmute-export-doc, r=QuietMisdreavus | Guillaume Gomez | -0/+1 | |
| Generate a documentation page for core::mem::transmute. In `#[no_std]` environments, `std::mem::transmute` is unavailable. Searching for "core transmute" online only pulls up `core::intrinsics::transmute`, which is behind the (unstable) `core_intrinsics` feature flag. Users wishing to use transmute in `#[no_std]` environments typically should use `core::mem::transmute` instead, as it is stable. This documentation makes `core::mem::transmute` discoverable. | ||||
| 2019-02-06 | fix doctests | Ralf Jung | -1/+2 | |
| 2019-02-05 | fix doctest | Ralf Jung | -2/+2 | |
