@cuchaz I recently discovered bool::then. A big place indeed.
Conversation
Notices
-
silverpill (silverpill@mitra.social)'s status on Saturday, 30-Sep-2023 04:55:53 JST silverpill -
Jeff Martin (cuchaz@gladtech.social)'s status on Saturday, 30-Sep-2023 04:55:54 JST Jeff Martin I've been writing #Rust for this many years now and today is the day I finally learned about Option.and_then().
I've always wanted a thing like flat_map() but for Option types, and apparently the stdlib has always had one, but I never found it until now.
The stdlib is a big place! :blobcatbook:
-