benchmark: allow range trailing comma in RangeArgs (#3598)

Rustfmt will add a trailing comma for longer expression, this change
will make sure that the Range parameters can still be parsed.

---------

Co-authored-by: command-bot <>
Co-authored-by: Alexander Theißen <alex.theissen@me.com>
This commit is contained in:
PG Herveou
2024-03-08 17:36:09 +01:00
committed by GitHub
parent 6f3caac051
commit a0c9a3d65a
@@ -65,6 +65,7 @@ struct RangeArgs {
start: syn::GenericArgument,
_comma: Comma,
end: syn::GenericArgument,
_trailing_comma: Option<Comma>,
_gt_token: Gt,
}