bors
b6f6104a1f
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
2023-04-07 08:09:20 +00:00
..
2023-04-04 12:38:06 -07:00
2023-04-04 15:34:40 +00:00
2023-04-04 15:34:40 +00:00
2023-04-04 09:27:46 -07:00
2023-04-04 15:34:40 +00:00
2023-04-03 14:29:32 -07:00
2023-04-06 23:14:23 +02:00
2023-04-01 20:32:50 -07:00
2023-03-30 18:30:56 +02:00
2023-04-04 20:01:05 +00:00
2023-04-05 03:26:38 +00:00
2023-04-06 23:14:23 +02:00
2023-04-05 15:48:37 +00:00
2023-04-03 09:24:14 +02:00
2023-03-29 18:04:44 -04:00
2023-04-01 23:16:33 +02:00
2023-04-04 15:34:40 +00:00
2023-03-31 20:38:06 +00:00
2023-04-03 15:59:21 +00:00
2023-04-06 23:14:23 +02:00
2023-04-06 18:42:58 +02:00
2023-03-29 18:34:29 +01:00
2023-04-06 07:38:58 +00:00
2023-04-07 00:00:24 +02:00
2023-04-06 12:42:01 +00:00
2023-04-05 10:38:02 +00:00
2023-03-31 07:28:39 -04:00
2023-04-04 15:31:37 +08:00
2023-04-06 04:55:58 +00:00
2023-04-06 18:42:59 +02:00
2023-04-06 18:48:42 +00:00
2023-04-06 12:42:01 +00:00
2023-04-05 20:47:22 +09:00
2023-04-06 07:38:58 +00:00
2023-04-02 10:08:35 +02:00
2023-04-07 08:54:13 +12:00
2023-04-04 09:01:44 +00:00
2023-03-31 03:36:18 +00:00
2023-04-06 18:48:42 +00:00
2023-04-06 08:25:53 +02:00
2023-04-07 00:00:25 +02:00
2023-04-06 00:54:07 -07:00
2023-04-05 16:15:25 +00:00
2023-04-06 18:42:57 +02:00
2023-03-29 08:55:21 +02:00
2023-04-04 02:42:42 +01:00
2023-04-06 18:42:57 +02:00
2023-04-01 23:44:16 +02:00
2023-04-04 12:38:06 -07:00