about summary refs log tree commit diff
path: root/src/liballoc_system
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-01-05 00:11:37 +0000
committerbors <bors@rust-lang.org>2017-01-05 00:11:37 +0000
commit5d994d8b7e482e87467d4a521911477bd8284ce3 (patch)
treea758e97393d42ab3bd91b030dc16cce398adf56f /src/liballoc_system
parent95b14a3b50782a3f680ab3bc75dde813333cb708 (diff)
parent3075c1f65e08e0b52dcf872588358daffef8b47c (diff)
downloadrust-5d994d8b7e482e87467d4a521911477bd8284ce3.tar.gz
rust-5d994d8b7e482e87467d4a521911477bd8284ce3.zip
Auto merge of #38770 - steveklabnik:doc-custom-derive, r=alexcrichton
Document custom derive.

These are some bare-bones documentation for custom derive, needed
to stabilize "macros 1.1",
https://github.com/rust-lang/rust/issues/35900

The book chapter is based off of a blog post by @cbreeden,
https://cbreeden.github.io/Macros11/

Normally, we have a policy of not mentioning external crates in
documentation. However, given that syn/quote are basically neccesary
for properly using macros 1.1, I feel that not including them here
would make the documentation very bad. So the rules should be bent
in this instance.

So far, this PR includes only docs; @alexcrichton said in https://github.com/rust-lang/rust/issues/35900 that he'd be okay with landing them before stabilization; I don't mind either way.
Diffstat (limited to 'src/liballoc_system')
0 files changed, 0 insertions, 0 deletions