Add screenshots to readme

This commit is contained in:
David Tolnay 2019-01-14 10:33:35 -08:00
parent 27b0ebb571
commit a0b0fba599
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -111,6 +111,13 @@ To expand a specific module only:
`$ cargo expand path::to::module`
[![cargo expand punctuated::printing][punctuated.png]][syn]
[![cargo expand token::FatArrow][fatarrow.png]][syn]
[punctuated.png]: https://raw.githubusercontent.com/dtolnay/cargo-expand/screenshots/punctuated.png
[fatarrow.png]: https://raw.githubusercontent.com/dtolnay/cargo-expand/screenshots/fatarrow.png
[syn]: https://github.com/dtolnay/syn
## Disclaimer
Be aware that macro expansion to text is a lossy process. This is a debugging