Commits on Jul 29, 2018

  1. duration div mul extras

    newpavlov committed Jul 29, 2018
    Configuration menu
    Copy the full SHA
    c24fb12 View commit details
    Browse the repository at this point in the history
  2. review update

    newpavlov committed Jul 29, 2018
    Configuration menu
    Copy the full SHA
    12d8f27 View commit details
    Browse the repository at this point in the history
  3. add MAX_NANOS_F64 constant

    newpavlov committed Jul 29, 2018
    Configuration menu
    Copy the full SHA
    3e07236 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2018

  1. change negativity check

    newpavlov committed Jul 30, 2018
    Configuration menu
    Copy the full SHA
    2c300fa View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2018

  1. don't duplicate impls

    newpavlov committed Jul 31, 2018
    Configuration menu
    Copy the full SHA
    2cab0de View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2018

  1. 1.29.0 -> 1.30.0

    newpavlov committed Aug 3, 2018
    Configuration menu
    Copy the full SHA
    d48a649 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2018

  1. Configuration menu
    Copy the full SHA
    96282e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1acec4c View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2018

  1. Configuration menu
    Copy the full SHA
    4ced4f3 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2018

  1. Configuration menu
    Copy the full SHA
    632f9c4 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2018

  1. Rewrite docs for std::ptr

    - 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.
    ecstatic-morse authored and RalfJung committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    911d35f View commit details
    Browse the repository at this point in the history
  2. Mention alignment in top-level docs

    This also removes the overlong link that failed tidy xD.
    Dylan MacKenzie authored and RalfJung committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    da58beb View commit details
    Browse the repository at this point in the history
  3. Fix failing doctests

    ecstatic-morse authored and RalfJung committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    9f5a3cc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    04a08c6 View commit details
    Browse the repository at this point in the history
  5. Update docs for swap_nonoverlapping

    They closely mirror the docs for `copy_nonoverlapping`
    ecstatic-morse authored and RalfJung committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    7b2ef6b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6f7338b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    30122e9 View commit details
    Browse the repository at this point in the history
  8. Remove definiton of valid pointer

    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.
    ecstatic-morse authored and RalfJung committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    e40585f View commit details
    Browse the repository at this point in the history
  9. Redefine range validity

    Uses `x.offset(i)` must be valid for all `i` in `0..count`.
    ecstatic-morse authored and RalfJung committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    ea5570c View commit details
    Browse the repository at this point in the history
  10. Incorporate RalfJung's suggestions

    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".
    ecstatic-morse authored and RalfJung committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    3a55c85 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    95a9088 View commit details
    Browse the repository at this point in the history
  12. Add a list of known facts re: validity

    Also rewrites the reads/writes section to be less reliant on `*const`,
    `*mut`
    ecstatic-morse authored and RalfJung committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    7e165d9 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c8da321 View commit details
    Browse the repository at this point in the history
  14. edit docs a little

    RalfJung committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    b0c5dc2 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    098bec8 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2018

  1. clarify ZST comment

    RalfJung committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    fc63113 View commit details
    Browse the repository at this point in the history
  2. apply comments

    RalfJung committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    1ec66fb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e869b81 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d97f61f View commit details
    Browse the repository at this point in the history
  5. improve volatile comments

    RalfJung committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    c06f551 View commit details
    Browse the repository at this point in the history
  6. fix example

    RalfJung committed Aug 30, 2018
    1 Configuration menu
    Copy the full SHA
    2741224 View commit details
    Browse the repository at this point in the history
  7. fix example

    RalfJung committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    18a7bdb View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2018

  1. turn ptr type method docs into links to docs of free functions, to av…

    …oid duplication and inconsistency
    RalfJung committed Aug 31, 2018
    Configuration menu
    Copy the full SHA
    4ed469c View commit details
    Browse the repository at this point in the history
  2. apply feedback

    RalfJung committed Aug 31, 2018
    Configuration menu
    Copy the full SHA
    dc2237c View commit details
    Browse the repository at this point in the history
  3. (un)aligned

    RalfJung committed Aug 31, 2018
    Configuration menu
    Copy the full SHA
    b463871 View commit details
    Browse the repository at this point in the history
  4. fix doctests

    RalfJung committed Aug 31, 2018
    Configuration menu
    Copy the full SHA
    408a6a0 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2018

  1. Update to a new pinning API.

    Without Boats committed Sep 1, 2018
    Configuration menu
    Copy the full SHA
    974bdc8 View commit details
    Browse the repository at this point in the history
  2. Valid raw pointers

    RalfJung committed Sep 1, 2018
    Configuration menu
    Copy the full SHA
    755de3c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bc809e0 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2018

  1. Flesh out struct keyword docs

    The whole keyword docs thing is pretty new in Rust's history and needs
    some work before it's a shining gem. Here's hoping I can provide that.
    
    I basically shoved in a bunch of the most important information from the
    reference and the book, along with leaving links to both at the end. I
    don't think keyword docs need to have complete detail, just all the
    broad strokes, so if someone's confused about a usage of a keyword they
    can look at the std documentation for that keyword.
    iirelu committed Sep 3, 2018
    Configuration menu
    Copy the full SHA
    047aac5 View commit details
    Browse the repository at this point in the history
  2. Add docs for as keyword

    It's pretty basic and could do with more details, but it's a good
    starter until someone else improves it.
    iirelu committed Sep 3, 2018
    Configuration menu
    Copy the full SHA
    1142bbd View commit details
    Browse the repository at this point in the history
  3. Add keyword docs on const

    Turns out writing docs on keywords that are used in multiple different
    places in entirely different contexts gets a little harder. I put a
    footnote on `*const` syntax just to make sure you can find it if need
    be, but it might need more detail.
    iirelu committed Sep 3, 2018
    Configuration menu
    Copy the full SHA
    c1bd8a9 View commit details
    Browse the repository at this point in the history
  4. Fix a few small things, re-word others

    Mostly addressing notes on ambiguous syntax and spurious newlines.
    iirelu committed Sep 3, 2018
    Configuration menu
    Copy the full SHA
    6cbcfa2 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2018

  1. Configuration menu
    Copy the full SHA
    1975b8d View commit details
    Browse the repository at this point in the history
  2. Add debug_assert!s to slice::from_raw_parts

    Copy the documentation over to `slice::from_raw_parts_mut`.
    tbu- committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    7b77508 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2018

  1. Configuration menu
    Copy the full SHA
    fcda7b2 View commit details
    Browse the repository at this point in the history
  2. Add docs for crate keyword

    I think it might be used in some other things, but I'm not fluent enough
    at sifting through the rust compiler's source code to find every use of
    a specific keyword.
    
    This leaves the question of how to document the `extern` keyword, what
    with how much overlap it has with `crate`, but that's used with ABI
    stuff so that should be fine.
    iirelu committed Sep 5, 2018
    Configuration menu
    Copy the full SHA
    f8d6261 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2018

  1. Add keyword docs on enum

    iirelu committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    f15a1ec View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2018

  1. Add docs on extern keyword

    iirelu committed Sep 9, 2018
    Configuration menu
    Copy the full SHA
    f91ad44 View commit details
    Browse the repository at this point in the history
  2. Expand fn keyword docs

    iirelu committed Sep 9, 2018
    Configuration menu
    Copy the full SHA
    a5c4a38 View commit details
    Browse the repository at this point in the history