5
Added the `Option::unzip()` method by Kixiron · Pull Request #87636 · rust-lang/...
source link: https://github.com/rust-lang/rust/pull/87636
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
- Adds the
Option::unzip()
method to turn anOption<(T, U)>
into(Option<T>, Option<U>)
under theunzip_option
feature - Adds tests for both
Option::unzip()
andOption::zip()
, I noticed that.zip()
didn't have any - Adds
#[inline]
to a few ofOption
's methods that were missing it
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK