about summary refs log tree commit diff
path: root/src/doc/book/macros.md
AgeCommit message (Collapse)AuthorLines
2017-02-13Port TRPL to mdbookSteve Klabnik-774/+0
1. move everything under a src directory 2. add README.md to the SUMMARY.md
2016-11-13Improved punctuation, capitalization, and sentence structure of code snippet ↵Angelo Polo-10/+10
comments
2016-08-22Mark panicking tests as `should_panic` instead of `no_run`.Corey Farwell-2/+2
2016-07-12Fix fallout.Jeffrey Seyfried-2/+2
2016-05-18Rust syntax coloring for some ignore, should-panic and no-run snippets.Steven Burns-5/+5
2016-03-27Update macros.mdTang Chenglong-2/+2
2016-03-26docs: make some text changes on Section `Macros`Tang Chenglong-4/+4
(1) In contrast to `that`, `so that` expresses `result` indicated by the sentence, not `reason`; (2) `block` is an expression, and may be have an expression, so I add `optional an expression` to make more precise; (3) When I read here, I was confused with what `the child` referred to. After modification, it would be better.
2016-01-27trpl: fix macro follow setsAlex Burka-3/+3
2016-01-17Fix C macro exampleStephen (Ziyun) Li-3/+5
2015-12-29Rollup merge of #30405 - durka:patch-12, r=steveklabnikSteve Klabnik-2/+1
Fixes #30217.
2015-12-15change macro ambiguity example from ty to identAlex Burka-3/+3
The previous example had no chance of compiling in either form, due to the restrictive follow set for `ty`. This one has the desired behavior: http://is.gd/kYdw4g (well, I don't exactly desire this behavior at all, but it's true at least :p )
2015-12-15remove claim that $crate is a single identifierAlex Burka-2/+1
Fixes #30217.
2015-11-19src/doc/trpl -> src/doc/bookSteve Klabnik-0/+773
The book was located under 'src/doc/trpl' because originally, it was going to be hosted under that URL. Late in the game, before 1.0, we decided that /book was a better one, so we changed the output, but not the input. This causes confusion for no good reason. So we'll change the source directory to look like the output directory, like for every other thing in src/doc.