Skip to content

Commit

Permalink
Rollup merge of rust-lang#126384 - RalfJung:is_none_or, r=workingjubilee
Browse files Browse the repository at this point in the history
add tracking issue for is_none_or

This was forgotten in rust-lang#126328.

Cc rust-lang#126383
  • Loading branch information
fmease authored Jun 13, 2024
2 parents 02cb1e9 + 3ef894f commit 9adf702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ impl<T> Option<T> {
/// ```
#[must_use]
#[inline]
#[unstable(feature = "is_none_or", issue = "none")]
#[unstable(feature = "is_none_or", issue = "126383")]
pub fn is_none_or(self, f: impl FnOnce(T) -> bool) -> bool {
match self {
None => true,
Expand Down

0 comments on commit 9adf702

Please sign in to comment.