about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorWaffle <waffle.lapkin@gmail.com>2020-04-09 11:03:57 +0300
committerWaffle <waffle.lapkin@gmail.com>2020-04-09 11:03:57 +0300
commit3ae2d21c12a1fbe909f72a96b012d7092c5419e4 (patch)
tree90217a9f90256a9234a30d79b22162c140fb6710 /src/test/codegen/src-hash-algorithm
parent11f6096a9ef6ad52de2956f4d2df200de7617077 (diff)
downloadrust-3ae2d21c12a1fbe909f72a96b012d7092c5419e4.tar.gz
rust-3ae2d21c12a1fbe909f72a96b012d7092c5419e4.zip
simplify `vec!` macro
Simplify `vec!` macro by replacing 2 following branches:
- `($($x:expr),*) => (...)`
- `($($x:expr,)*) => (...)`
with one:
- `($($x:expr),* $(,)?) => (...)`
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions