mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 06:21:11 +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,
|
start: syn::GenericArgument,
|
||||||
_comma: Comma,
|
_comma: Comma,
|
||||||
end: syn::GenericArgument,
|
end: syn::GenericArgument,
|
||||||
|
_trailing_comma: Option<Comma>,
|
||||||
_gt_token: Gt,
|
_gt_token: Gt,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user