-
Notifications
You must be signed in to change notification settings - Fork 2
Conversation
Please make sure to add screenshots or gifs of the change to give a clear Good Pull Requests adhere to a single responsibility.
Some guidelines on giving and receiving feedback in Code Reviews |
.expect("unsuccessful parse") // unwrap the parse result | ||
.next().unwrap(); | ||
.next() | ||
.unwrap(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.map_err
is your friend with https://boats.gitlab.io/failure/ to handle parsing errors.
…multiple asignments
rrule_string: "FREQ=DAILY", | ||
expected_flat_json: r#"{"frequency":"DAILY"}"#, | ||
}, | ||
RRuleTestCase { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could write this as a macro. but that is for another day... 💃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! will try to incorporate in the next PR
Description
Enable parsing of RRule to Json