1. 26 7月, 2014 10 次提交
    • B
      auto merge of #15982 : alexcrichton/rust/rustdoc-fixes, r=brson · c0fa8764
      bors 提交于
      Sadly there's still a lot of open issues, but this tackles some of the more pressing ones. Each commit has its own description along with the issues it closes.
      c0fa8764
    • B
      auto merge of #15975 : dotdash/rust/unwind_lifetimes, r=pcwalton · 34a6a8fc
      bors 提交于
      Currently we don't emit lifetime end markers when translating the
      unwinding code. I omitted that when I added the support for lifetime
      intrinsics, because I initially made the mistake of just returning true
      in clean_on_unwind(). That caused almost all calls to be translated as
      invokes, leading to quite awful results.
      
      To correctly emit the lifetime end markers, we must differentiate
      between cleanup that requires unwinding and such cleanup that just wants
      to emit code during unwinding.
      34a6a8fc
    • B
      auto merge of #15789 : steveklabnik/rust/guide_pointers, r=cmr · cf1381c1
      bors 提交于
      This is super, super WIP, but I'm going to go get lunch for a while, and figured I'd toss my work up here in case anyone wants to see my work as I do it.
      
      This contains a new introductory section explaining the basics of pointers, and some pitfalls that Rust attempts to solve. I'd be interested in hearing how my explanation is, as well as if this belongs here. Pointers are such a crucial concept, I don't mind having a beginners' section on them in the main docs, even though our main audience is supposed to understand them already. Reasonable people may disagree, however.
      cf1381c1
    • B
      auto merge of #15787 : treeman/rust/hashmap-doc, r=alexcrichton · 92c97059
      bors 提交于
      Add an example showing how to use the map with a custom type. Fill in
      examples for methods  without ones.
      
      Also move `pop_equiv` next to related public methods, to not create a
      duplicate trait in the docs.
      92c97059
    • B
      auto merge of #15979 : Randati/rust/patch-2, r=kballard · 66a0b528
      bors 提交于
      66a0b528
    • B
      auto merge of #15968 : nham/rust/keys_values_other_maps, r=alexcrichton · 74db6999
      bors 提交于
      Adds methods for obtaining iterators over the keys or values of a SmallIntMap/TreeMap/TrieMap.
      
      Closes #14376
      74db6999
    • A
      rustdoc: Inline items from foreign mods · 98f48630
      Alex Crichton 提交于
      These were all just previously skipped.
      
      Closes #15648
      98f48630
    • A
      rustdoc: Correctly handle local renamings · 8d7eb059
      Alex Crichton 提交于
      Previously a `pub use` would not rename the destination in rustdoc, it would
      always use the destination ident instead of the renamed ident.
      8d7eb059
    • A
      rustdoc: Fix links to Box/Gc · 431622e1
      Alex Crichton 提交于
      These are lang items now, so the internal representations need to be
      re-translated back to the original structures manually.
      
      Closes #15185
      Closes #15800
      431622e1
    • A
      rustdoc: Fix inlining type parameters · 15a727bb
      Alex Crichton 提交于
      I'm not entirely sure if the correct space can be inferred when cleaning
      Generics, so the impl has been switched to take the space explicitly.
      
      Closes #15099
      15a727bb
  2. 25 7月, 2014 29 次提交
  3. 24 7月, 2014 1 次提交
    • A
      Test fixes from the rollup · 1031ad8f
      Alex Crichton 提交于
      Closes #15807 (Deprecate some unsafe functions in `str::raw` and remove `OwnedStr` trait)
      Closes #15859 (Implement `Show` for `CString` and fix warning compiling tests for libcollections)
      Closes #15911 (Updated LLVM for iOS)
      Closes #15925 (libsyntax: Remove `~self` and `mut ~self` from the language.)
      Closes #15930 (Add examples for Checked[Add|Sub|Mul|Div])
      Closes #15933 (rustdoc: make table of contents optional)
      Closes #15937 (librustc: Make bare functions implement the `FnMut` trait.)
      Closes #15938 (librustc: Check structure constructors against their types.)
      Closes #15939 (rustdoc: Add a --crate-name option)
      Closes #15942 (Document trie collections)
      Closes #15943 (Document SmallIntMap)
      1031ad8f