Skip to content

Commit fb39767

Browse files
committed
Auto merge of #110019 - jplatte:jplatte/stabilize-is-some-and, r=Amanieu
Stabilize is_some_and This stabilizes the following public API: ```rust impl<T> Option<T> { pub fn is_some_and(self, f: impl FnOnce(T) -> bool) -> bool; } impl<T, E> Result<T, E> { pub fn is_ok_and(self, f: impl FnOnce(T) -> bool) -> bool; pub fn is_err_and(self, f: impl FnOnce(E) -> bool) -> bool; } ``` Closes #93050 (tracking issue). `@rustbot` label +T-libs-api -T-libs
2 parents 5349b69 + 66863a0 commit fb39767

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
#![feature(io_error_more)]
66
#![feature(variant_count)]
77
#![feature(yeet_expr)]
8-
#![feature(is_some_and)]
98
#![feature(nonzero_ops)]
109
#![feature(local_key_cell_methods)]
1110
#![feature(is_terminal)]

0 commit comments

Comments
 (0)