Skip to content

Conversation

@mgeisler
Copy link
Contributor

I found a few places where Option::and_then could be simplified (in my opinion) with ? or with match.

I found a few places where `Option::and_then` could be simplified (in
my opinion) with `?` or with `match`.
Copy link
Contributor

@ehuss ehuss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable, thanks!

@ehuss ehuss merged commit c8db0c8 into rust-lang:master Sep 12, 2022
@mgeisler
Copy link
Contributor Author

Thanks! :)

@mgeisler mgeisler deleted the simplify-and-then branch January 7, 2023 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants