1. 03 6月, 2014 9 次提交
  2. 02 6月, 2014 11 次提交
    • K
      syntax: Remove use of `pub use` globs · 976c8324
      klutzy 提交于
      `quote_expr!` now injects two more (priv) `use` globs.
      This may cause extra unused_imports warning.
      976c8324
    • K
      doc: Remove use of `pub use` globs · e38fde71
      klutzy 提交于
      e38fde71
    • F
      docs: Stop using `notrust` · 20fb7c62
      Florian Gilcher 提交于
      Now that rustdoc understands proper language tags
      as the code not being Rust, we can tag everything
      properly.
      
      This change tags examples in other languages by
      their language. Plain notations are marked as `text`.
      Console examples are marked as `console`.
      
      Also fix markdown.rs to not highlight non-rust code.
      20fb7c62
    • B
      auto merge of #14596 : Sawyer47/rust/encodable-fix, r=alexcrichton · 46dad765
      bors 提交于
      Closes #14021
      46dad765
    • P
      Fix deriving Encodable trait for unit structs · 1dc13e4a
      Piotr Jawniak 提交于
      Closes #14021
      1dc13e4a
    • B
      auto merge of #14569 : skade/rust/rustdoc-robust-langstring-parsing, r=alexcrichton · b981add9
      bors 提交于
      This changes the parsing of the language string
      in code examples so that unrecognized examples
      are not considered Rust code. This was, for example,
      the case when a code example was marked `sh` for shell
      code.
      
      This relieves authors of having to mark those samples
      as `notrust`.
      
      Also adds recognition of the positive marker `rust`.
      
      By default, unmarked examples are still considered rust.
      b981add9
    • B
      auto merge of #14591 : klutzy/rust/issue-9205, r=thestinger · 2be0c5b5
      bors 提交于
      Fixes #9205.
      2be0c5b5
    • K
      test: Enable #9205-related tests on windows · 42e44641
      klutzy 提交于
      Fixes #9205.
      42e44641
    • F
      rustdoc: make langstring parsing more robust · 3fef7a74
      Florian Gilcher 提交于
      This changes the parsing of the language string
      in code examples so that unrecognized examples
      are not considered Rust code. This was, for example,
      the case when a code example was marked `sh` for shell
      code.
      
      This relieves authors of having to mark those samples
      as `notrust`.
      
      Also adds recognition of the positive marker `rust`.
      
      By default, unmarked examples are still considered rust.
      
      If any rust-specific tags are seen, code is considered
      rust unless marked as "notrust".
      
      Adds test cases for the detection logic.
      3fef7a74
    • B
      auto merge of #14579 : alexcrichton/rust/more-eq-renamings, r=thestinger · 1527dab9
      bors 提交于
      This completes the last stage of the renaming of the comparison hierarchy of
      traits. This change renames TotalEq to Eq and TotalOrd to Ord.
      
      In the future the new Eq/Ord will be filled out with their appropriate methods,
      but for now this change is purely a renaming change.
      
      This continues the work of #12517, continuing the work in #14534. This patch accomplishes the final rename of `TotalEq` to `TotalOrd`. I wanted to get this patch landed ASAP so we don't have to deal much with "where did `Eq` and `Ord` go?"
      
      I have yet to do another pruning pass over the compiler to change all usage of `PartialEq` to `Eq` where appropriate. I will do this soon as well.
      1527dab9
    • A
      std: Drop Total from Total{Eq,Ord} · bba701c5
      Alex Crichton 提交于
      This completes the last stage of the renaming of the comparison hierarchy of
      traits. This change renames TotalEq to Eq and TotalOrd to Ord.
      
      In the future the new Eq/Ord will be filled out with their appropriate methods,
      but for now this change is purely a renaming change.
      
      [breaking-change]
      bba701c5
  3. 01 6月, 2014 20 次提交