summary refs log tree commit diff
path: root/src/doc/trpl/comments.md
AgeCommit message (Collapse)AuthorLines
2015-07-06book: introduce `//!` doc comment in comments sectionLiigo Zhuang-0/+11
Closes #26801
2015-06-07Update doctest in comments.mdChuck Bassett-0/+3
For a user following the path of reading Chapter 5: Syntax & Symantics prior to Chapter 4: Learn Rust, this will be the first time they have encountered executable tests inside documentation comments. The test will fail because the `add_one` function is not defined in the context of the doctest. This might not be the optimal place to introduce and explain the `/// #` notation but I think it is important that this snippet pass as a test when `rustdoc --test` is run against it if it is going to be shown.
2015-04-10copyedits: documentationSteve Klabnik-20/+18
2015-03-11Example -> ExamplesSteve Klabnik-1/+1
This brings comments in line with https://github.com/rust-lang/rfcs/blob/master/text/0505-api-comment-conventions.md#using-markdown
2015-01-31updating the link to rustdocmadmalik-1/+1
http://doc.rust-lang.org/rustdoc.html states that its content was moved to http://doc.rust-lang.org/book/documentation.html
2015-01-10Cosmetic updates to TRPL textSebastian Rasmussen-1/+2
* Make messages match rustc's error messages * Use correct function name in example * Rewording to match previously presented material
2015-01-08Standardize punctuation & formatting of TRPLKevin Yap-2/+2
This commit is an attempt to standardize the use of punctuation and formatting in "The Rust Programming Language" as discussed in #19823. - Convert bold text to italicized textcwhen referring to terminology. - Convert single-quoted text to italicized or double-quoted text, depending on context. - Use double quotes only in the case of scare quotes or quotations.
2015-01-08Fix dead links in the guide and reorganizeAlex Crichton-0/+46