diff options
| author | Michael Lamparski <diagonaldevice@gmail.com> | 2018-02-07 09:32:26 -0500 |
|---|---|---|
| committer | Michael Lamparski <diagonaldevice@gmail.com> | 2018-02-07 12:48:21 -0500 |
| commit | 1137fb193583971f35e1d4b3cfcb25725948da4f (patch) | |
| tree | 9cdab0fc2cd3facbad058dddd2125e323ba8dff3 /src/libstd/sync | |
| parent | 96eed862a08f0ee1d234f4f83419dd46fe58ccef (diff) | |
| download | rust-1137fb193583971f35e1d4b3cfcb25725948da4f.tar.gz rust-1137fb193583971f35e1d4b3cfcb25725948da4f.zip | |
libsyntax/ext: trailing commas in builtin macros
Most notably this changes 'syntax::ext::base::get_single_str_from_tts' to accept a trailing comma, and revises the documentation so that this aspect is not surprising. I made this change under the understanding that this crate is private rustc implementation detail (I hope this is correct!). After reviewing all call sites, I believe the revised semantics are closer to the intended spirit of the function.
Diffstat (limited to 'src/libstd/sync')
0 files changed, 0 insertions, 0 deletions
