]> git.lizzy.rs Git - rust.git/commit
reference: fix definition of :tt
authorAlex Burka <durka42+github@gmail.com>
Sun, 4 Dec 2016 20:56:51 +0000 (15:56 -0500)
committerAlex Burka <aburka@seas.upenn.edu>
Sun, 4 Dec 2016 20:58:49 +0000 (15:58 -0500)
commitdbfcdd45c607762ee8371494ce8a6326086a9596
tree06c1d3ea3caf761fdc02a100e91fe5cca58b049b
parent2190f6c3c28595275b73e2b6134e3bfcab1f66f5
reference: fix definition of :tt

The reference says that $x:tt matches "either side of the `=>` in macro_rules` which is technically true but completely uninformative. This changes that bullet point to what the book says (a single token or sequence of token trees inside brackets).
src/doc/reference.md