Skip to content

Commit

Permalink
Rollup merge of #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 #126328.

Cc #126383
  • Loading branch information
fmease authored Jun 13, 2024
2 parents 393b526 + 898b541 commit f1a4f30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/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 f1a4f30

Please sign in to comment.