mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 07:37:57 +00:00
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:
@@ -65,6 +65,7 @@ struct RangeArgs {
|
||||
start: syn::GenericArgument,
|
||||
_comma: Comma,
|
||||
end: syn::GenericArgument,
|
||||
_trailing_comma: Option<Comma>,
|
||||
_gt_token: Gt,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user