| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-09-01 | Rollup merge of #53781 - matthiaskrgr:fix_any_bench, r=kennytm | kennytm | -1/+1 | |
| bench: libcore: fix build failure of any.rs benchmark (use "dyn Any") fixes ```` error: trait objects without an explicit `dyn` are deprecated --> libcore/../libcore/benches/any.rs:18:36 | 18 | let mut y = &mut x as &mut Any; | ^^^ help: use `dyn`: `dyn Any` | = note: requested on the command line with `-D bare-trait-objects` ```` | ||||
| 2018-09-01 | rebase | Tim | -56/+503 | |
| 2018-09-01 | Auto merge of #53604 - oli-obk:min_const_fn, r=Centril,varkor | bors | -0/+28 | |
| Implement the `min_const_fn` feature gate cc @RalfJung @eddyb r? @Centril implements the feature gate for #53555 I added a hack so the `const_fn` feature gate also enables the `min_const_fn` feature gate. This ensures that nightly users of `const_fn` don't have to touch their code at all. The `min_const_fn` checks are run first, and if they succeeded, the `const_fn` checks are run additionally to ensure we didn't miss anything. | ||||
| 2018-09-01 | Update to a new pinning API. | Without Boats | -96/+258 | |
| 2018-08-31 | Auto merge of #53755 - llogiq:fix-unsound-16bit-range, r=nagisa | bors | -2/+10 | |
| fix u32 steps_between for 16-bit systems This fixes #48006. | ||||
| 2018-08-31 | use cfg(rustdoc) instead of cfg(dox) in std and friends | QuietMisdreavus | -1/+1 | |
| 2018-08-31 | fix doctests | Ralf Jung | -4/+8 | |
| 2018-08-31 | (un)aligned | Ralf Jung | -2/+2 | |
| 2018-08-31 | apply feedback | Ralf Jung | -20/+28 | |
| 2018-08-31 | turn ptr type method docs into links to docs of free functions, to avoid ↵ | Ralf Jung | -433/+44 | |
| duplication and inconsistency | ||||
| 2018-08-31 | Implement the `min_const_fn` feature gate | Oliver Schneider | -0/+28 | |
| 2018-08-30 | Rollup merge of #53785 - tbu-:pr_comment, r=Mark-Simulacrum | Pietro Albini | -6/+1 | |
| Fix a comment in src/libcore/slice/mod.rs | ||||
| 2018-08-30 | Rollup merge of #53476 - GuillaumeGomez:try-from-int-error-partial-eq, r=KodrAus | Pietro Albini | -1/+1 | |
| Add partialeq implementation for TryFromIntError type Fixes #53458. | ||||
| 2018-08-30 | Rollup merge of #51760 - GuillaumeGomez:add-another-partialeq-example, ↵ | Pietro Albini | -1/+84 | |
| r=QuietMisdreavus Add another PartialEq example r? @steveklabnik | ||||
| 2018-08-30 | fix example | Ralf Jung | -2/+1 | |
| 2018-08-30 | fix example | Ralf Jung | -2/+3 | |
| 2018-08-30 | improve volatile comments | Ralf Jung | -4/+4 | |
| 2018-08-30 | avoid shadowing; fix examples | Ralf Jung | -4/+4 | |
| 2018-08-30 | address remaining remarks and add example for dropping unaligned data | Ralf Jung | -7/+35 | |
| 2018-08-30 | apply comments | Ralf Jung | -18/+23 | |
| 2018-08-30 | clarify ZST comment | Ralf Jung | -16/+16 | |
| 2018-08-30 | fix u32 steps_between for 16-bit systems | Andre Bogus | -2/+10 | |
| 2018-08-30 | Added feature attribute to example code in map_or_else doc | Isaac van Bakel | -0/+1 | |
| 2018-08-29 | Corrected type variable output T -> U in Result::map_or_else | Isaac van Bakel | -1/+1 | |
| 2018-08-29 | Corrected feature status of Result::map_or_else | Isaac van Bakel | -1/+1 | |
| map_or_else is now correctly labelled unstable and points to the tracking issue on rust-lang/rust | ||||
| 2018-08-29 | Corrected bad typing in Result::map_or_else doc | Isaac van Bakel | -2/+2 | |
| The error value now includes the type of the success. The success value now includes the type of the error. | ||||
| 2018-08-29 | clarify that these are preliminary guarantees | Ralf Jung | -5/+4 | |
| 2018-08-29 | Fix a comment in src/libcore/slice/mod.rs | Tobias Bucher | -6/+1 | |
| 2018-08-29 | edit docs a little | Ralf Jung | -27/+49 | |
| 2018-08-29 | Corrected feature name for map_or_else | Isaac van Bakel | -1/+1 | |
| 2018-08-29 | bench: libcore: fix build failure of any.rs benchmark (use "dyn Any") | Matthias Krüger | -1/+1 | |
| 2018-08-29 | Resolve null/ZST conflict correctly (whoops) | Dylan MacKenzie | -4/+3 | |
| 2018-08-29 | Add a list of known facts re: validity | Dylan MacKenzie | -9/+26 | |
| Also rewrites the reads/writes section to be less reliant on `*const`, `*mut` | ||||
| 2018-08-29 | You can't make an omlette without breaking a few links | Dylan MacKenzie | -1/+1 | |
| 2018-08-29 | Incorporate RalfJung's suggestions | Dylan MacKenzie | -52/+49 | |
| This splits "valid" into "valid for reads" and "valid for writes", and also adds the concept of operation size to validity. Now functions which operate on sequences state that e.g. pointer args must be "valid for reads of size x". | ||||
| 2018-08-29 | Redefine range validity | Dylan MacKenzie | -30/+27 | |
| Uses `x.offset(i)` must be valid for all `i` in `0..count`. | ||||
| 2018-08-29 | Remove definiton of valid pointer | Dylan MacKenzie | -7/+14 | |
| The enumerated list of conditions is replaced by an explanation that rust doesn't have a formal memory model. It does say that pointers created directly from references are guaranteed to be valid, and links to both the "Unsafe Code" section of the book and the "Undefined Behavior" section of the reference. | ||||
| 2018-08-29 | Fix off-by-one error when specifying a valid range | Dylan MacKenzie | -7/+7 | |
| 2018-08-29 | Reword module level docs re: alignment | Dylan MacKenzie | -4/+4 | |
| 2018-08-29 | Update docs for `swap_nonoverlapping` | Dylan MacKenzie | -3/+19 | |
| They closely mirror the docs for `copy_nonoverlapping` | ||||
| 2018-08-29 | Fix unused variable warning in doctest | Dylan MacKenzie | -0/+1 | |
| 2018-08-29 | Fix failing doctests | Dylan MacKenzie | -4/+4 | |
| 2018-08-29 | Mention alignment in top-level docs | Dylan MacKenzie | -5/+11 | |
| This also removes the overlong link that failed tidy xD. | ||||
| 2018-08-29 | Rewrite docs for `std::ptr` | Dylan MacKenzie | -102/+497 | |
| - Add links to the GNU libc docs for `memmove`, `memcpy`, and `memset`, as well as internally linking to other functions in `std::ptr` - List invariants which, when violated, cause UB for all functions - Add example to `ptr::drop_in_place` and compares it to `ptr::read`. - Add examples which more closely mirror real world uses for the functions in `std::ptr`. Also, move the reimplementation of `mem::swap` to the examples of `ptr::read` and use a more interesting example for `copy_nonoverlapping`. - Change module level description - Define what constitutes a "valid" pointer. - Centralize discussion of ownership of bitwise copies in `ptr::read` and provide an example. | ||||
| 2018-08-29 | Implemented map_or_else for Result<T, E> | Isaac van Bakel | -0/+29 | |
| 2018-08-28 | Add partialeq implementation for TryFromIntError type | Guillaume Gomez | -1/+1 | |
| 2018-08-28 | stabilize slice_align_to | Ralf Jung | -9/+8 | |
| 2018-08-27 | Auto merge of #53227 - nivkner:pin_move, r=RalfJung | bors | -153/+172 | |
| move the Pin API into its own module for centralized documentation This implements the change proposed by @withoutboats in #49150, as suggested by @RalfJung in the review of #53104, along with the documentation that was originally in it, that was deemed more appropriate in module-level documentation. r? @RalfJung | ||||
| 2018-08-27 | Auto merge of #53441 - toidiu:ak-fix53419, r=nikomatsakis | bors | -0/+1 | |
| fix for late-bound regions Fix for https://github.com/rust-lang/rust/issues/53419 r? @nikomatsakis | ||||
| 2018-08-25 | Auto merge of #53385 - matklad:stabilize-find-map, r=KodrAus | bors | -5/+1 | |
| Stablize Iterator::find_map Stabilization PR for https://github.com/rust-lang/rust/issues/49602 | ||||
