You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BasePattern::as_identifier returns an Option; when iterating we can
filter out the Nones with `filter_map`. We were instead using
`flat_map`, which is much more general: it turns the Options into
iterators (which will yield 0 or 1 items) and then yields everything
from the iterators.
This is potentially slower and more complicated to read.
0 commit comments