Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of PRs in the queue; Wednesday #23473

Merged
merged 13 commits into from
Mar 18, 2015
Merged

Commits on Mar 15, 2015

  1. Fix deprecated comm link.

    WiSaGaN committed Mar 15, 2015
    Configuration menu
    Copy the full SHA
    a89dc2d View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2015

  1. Fix IPv6 address format in documentation

    Very minor fix: in `std::net::Ipv6Addr::new`, the documentation had an incomplete representation of the resulting address, missing the last two groups.
    meqif committed Mar 17, 2015
    Configuration menu
    Copy the full SHA
    730defc View commit details
    Browse the repository at this point in the history
  2. libc: Fix definition of sockaddr_storage on 32-bit linux

    The alignment field is actually a "pointer sized" type instead of always i64,
    requiring that the size of the padding field is also calculated slightly
    differently.
    
    Closes rust-lang#23425
    alexcrichton committed Mar 17, 2015
    Configuration menu
    Copy the full SHA
    71982c2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    34c48db View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2015

  1. std: Tweak some unstable features of str

    This commit clarifies some of the unstable features in the `str` module by
    moving them out of the blanket `core` and `collections` features.
    
    The following methods were moved to the `str_char` feature which generally
    encompasses decoding specific characters from a `str` and dealing with the
    result. It is unclear if any of these methods need to be stabilized for 1.0 and
    the most conservative route for now is to continue providing them but to leave
    them as unstable under a more specific name.
    
    * `is_char_boundary`
    * `char_at`
    * `char_range_at`
    * `char_at_reverse`
    * `char_range_at_reverse`
    * `slice_shift_char`
    
    The following methods were moved into the generic `unicode` feature as they are
    specifically enabled by the `unicode` crate itself.
    
    * `nfd_chars`
    * `nfkd_chars`
    * `nfc_chars`
    * `graphemes`
    * `grapheme_indices`
    * `width`
    alexcrichton committed Mar 18, 2015
    Configuration menu
    Copy the full SHA
    aa88da6 View commit details
    Browse the repository at this point in the history
  2. Infer type ! for a loop that can only break out of other loops

    Closes rust-lang#23451.
    
    Signed-off-by: Anders Kaseorg <andersk@mit.edu>
    andersk committed Mar 18, 2015
    Configuration menu
    Copy the full SHA
    7364022 View commit details
    Browse the repository at this point in the history
  3. Rollup merge of rust-lang#23461 - alexcrichton:feat-char-at, r=aturon

     This commit clarifies some of the unstable features in the `str` module by
    moving them out of the blanket `core` and `collections` features.
    
    The following methods were moved to the `str_char` feature which generally
    encompasses decoding specific characters from a `str` and dealing with the
    result. It is unclear if any of these methods need to be stabilized for 1.0 and
    the most conservative route for now is to continue providing them but to leave
    them as unstable under a more specific name.
    
    * `is_char_boundary`
    * `char_at`
    * `char_range_at`
    * `char_at_reverse`
    * `char_range_at_reverse`
    * `slice_shift_char`
    
    The following methods were moved into the generic `unicode` feature as they are
    specifically enabled by the `unicode` crate itself.
    
    * `nfd_chars`
    * `nfkd_chars`
    * `nfc_chars`
    * `graphemes`
    * `grapheme_indices`
    * `width`
    Manishearth committed Mar 18, 2015
    Configuration menu
    Copy the full SHA
    181441c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a7eca31 View commit details
    Browse the repository at this point in the history
  5. Rollup merge of rust-lang#23392 - WiSaGaN:bugfix/fix_deprecate_link, …

    …r=Manishearth
    
     Since module `std::sync::mpsc` is stable now, fix the deprecated link `comm` with `sync::mpsc`.
    Manishearth committed Mar 18, 2015
    Configuration menu
    Copy the full SHA
    dda4220 View commit details
    Browse the repository at this point in the history
  6. Rollup merge of rust-lang#23443 - meqif:ipv6addr-new-documentation-fi…

    …x, r=steveklabnik
    
     Very minor fix: in `std::net::Ipv6Addr::new`, the documentation had an incomplete representation of the resulting address, missing the last two groups.
    Manishearth committed Mar 18, 2015
    Configuration menu
    Copy the full SHA
    51bc2f1 View commit details
    Browse the repository at this point in the history
  7. Rollup merge of rust-lang#23450 - alexcrichton:fix-sockaddr-storage, …

    …r=brson
    
     The alignment field is actually a \"pointer sized\" type instead of always i64,
    requiring that the size of the padding field is also calculated slightly
    differently.
    
    Closes rust-lang#23425
    Manishearth committed Mar 18, 2015
    Configuration menu
    Copy the full SHA
    c341fe9 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e245e65 View commit details
    Browse the repository at this point in the history
  9. Rollup merge of rust-lang#23428 - Manishearth:ast-doc, r=huon

     I often have to run `ast-json` or look into the pretty-printer source to figure out what the fields of an AST enum mean. I've tried to document most of what I know (and some semi-obvious stuff).
    
    r? @steveklabnik
    
    f? @eddyb
    Manishearth committed Mar 18, 2015
    Configuration menu
    Copy the full SHA
    2a106d6 View commit details
    Browse the repository at this point in the history