1. 23 4月, 2014 8 次提交
  2. 22 4月, 2014 16 次提交
  3. 21 4月, 2014 12 次提交
    • G
      shootout-threadring rewrite · 72655677
      Guillaume Pinot 提交于
      * simplify the code
      * remove trace to satisfy official shootout test
      * use libgreen to improve performances
      72655677
    • B
      auto merge of #13652 : erickt/rust/master, r=alexcrichton · 1c101da2
      bors 提交于
      1c101da2
    • B
      auto merge of #13650 : gmjosack/rust/master, r=alexcrichton · e4f51904
      bors 提交于
      Feels strange to have the order be arbitrary here. Order them the same.
      e4f51904
    • J
      Fix misspellings in comments. · 809f13ea
      Joseph Crail 提交于
      809f13ea
    • G
      Fix call order to be the same as definition order · c54a7831
      Gary M. Josack 提交于
      c54a7831
    • B
      auto merge of #13647 : alexcrichton/rust/issue-13641, r=pcwalton · 30348f46
      bors 提交于
      This gives a better NOTE error message when a privacy error is encountered with
      a static method. Previously no note was emitted (due to lack of support), but
      now a note is emitted indicating that the struct/enum itself is private.
      
      Closes #13641
      30348f46
    • B
      auto merge of #13639 : alexcrichton/rust/rustdoc-tuple-fields, r=sfackler · 97dd7262
      bors 提交于
      The fields of tuple structs recently gained the ability to have privacy
      associated with them, but rustdoc was not updated accodingly. This moves the
      struct field filtering to the rendering phase in order to preserve the ordering
      of struct fields to allow tuple structs to have their private fields printed as
      underscores.
      
      Closes #13594
      97dd7262
    • B
      auto merge of #13636 : nick29581/rust/ty_vec, r=pcwalton · 02081e7c
      bors 提交于
      Refactors all uses of ty_vec and associated things to remove the vstore abstraction (still used for strings, for now). Pointers to vectors are stored as ty_rptr or ty_uniq wrapped around a ty_vec. There are no user-facing changes. Existing behaviour is preserved by special-casing many instances of pointers containing vectors. Hopefully with DST most of these hacks will go away. For now it is useful to leave them hanging around rather than abstracting them into a method or something.
      
      Closes #13554.
      02081e7c
    • A
      rustdoc: Display tuple structs correctly · 9d546d60
      Alex Crichton 提交于
      The fields of tuple structs recently gained the ability to have privacy
      associated with them, but rustdoc was not updated accodingly. This moves the
      struct field filtering to the rendering phase in order to preserve the ordering
      of struct fields to allow tuple structs to have their private fields printed as
      underscores.
      
      Closes #13594
      9d546d60
    • A
      rustc: Improve errors on private static methods · c33cedf3
      Alex Crichton 提交于
      This gives a better NOTE error message when a privacy error is encountered with
      a static method. Previously no note was emitted (due to lack of support), but
      now a note is emitted indicating that the struct/enum itself is private.
      
      Closes #13641
      c33cedf3
    • B
      auto merge of #13410 : alexcrichton/rust/issue-12278, r=pcwalton · 50671dc6
      bors 提交于
      This commit removes the compiler support for floating point modulus operations,
      as well as from the language. An implementation for this operator is now
      required to be provided by libraries.
      
      Floating point modulus is rarely used, doesn't exist in C, and is always lowered
      to an fmod library call by LLVM, and LLVM is considering removing support
      entirely.
      
      Closes #12278
      50671dc6
    • B
      auto merge of #13643 : aochagavia/rust/pr-2, r=alexcrichton · 4d496933
      bors 提交于
      Fixed a typo in the documentation of std::mem, and refactored a function to use match instead of if.
      
      Also added a FIXME to the benchmarks at the end of the file stating that they should be moved to another place, because they have nothing to do with `mem` (see https://github.com/mozilla/rust/issues/13642)
      4d496933
  4. 20 4月, 2014 4 次提交