Skip to content
Snippets Groups Projects
Unverified Commit a0c9a3d6 authored by PG Herveou's avatar PG Herveou Committed by GitHub
Browse files

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: default avatarAlexander Theißen <alex.theissen@me.com>
parent 6f3caac0
No related merge requests found
Pipeline #453249 passed with stages
in 39 minutes and 54 seconds
......@@ -65,6 +65,7 @@ struct RangeArgs {
start: syn::GenericArgument,
_comma: Comma,
end: syn::GenericArgument,
_trailing_comma: Option<Comma>,
_gt_token: Gt,
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment