1. 27 5月, 2013 9 次提交
  2. 26 5月, 2013 10 次提交
  3. 25 5月, 2013 19 次提交
  4. 24 5月, 2013 2 次提交
    • B
      auto merge of #6680 : ben0x539/rust/slashslashslash, r=graydon · b5ab1012
      bors 提交于
      There's currently a function in the lexer that rejects a line comment that is all slashes from being a doc comment. I think the intention was that you could draw boxes,
      
          /////////////
          // like so //
          /////////////
      
      Since a line doc comment split up over multiple paragraphs will have a "blank" line that is just /// between the paragraphs, that would get mistaken for a box segment, lexed as a regular comment, and go missing from the sequence of doc comment attributes before they were reassembled by rustdoc into markdown input.
      
      I figure the best plan here is to just declare that a comment that is exactly `///` is a doc comment after all, and to only omit comments with four slashes or more, which is what this commit implements. Can't really draw boxes that narrow, anyway.
      b5ab1012
    • B
      auto merge of #6712 : thestinger/rust/derive, r=catamorphism · 2f69bb9b
      bors 提交于
      2f69bb9b