Change from using Option
to std::iter::once
when chaining together Form
Iterators.
#555
Labels
Option
to std::iter::once
when chaining together Form
Iterators.
#555
I've used
Option
throughout the widgetdraw
methods to chain togetherForm
Iterator
s (in order to avoid allocations), however I think the more idiomatic way would be to usestd::iter::once
(didn't see it until today).For example, the line here
would become
The text was updated successfully, but these errors were encountered: