diff options
author | bors <bors@rust-lang.org> | 2023-04-07 08:09:20 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2023-04-07 08:09:20 +0000 |
commit | b6f6104a1f62a0eec7d2e2ccdc07709fcc4c83f0 (patch) | |
tree | 44dad4c16912704cdd0303f5b907f4ce38cb94a2 /tests/rustdoc-js-std/parser-errors.js | |
parent | 97879ce24ba6fbc89b1a7a9bef5d31f73963646c (diff) | |
parent | 443928f7e33666f83711c768ef2968090c85bc7f (diff) | |
download | rust-b6f6104a1f62a0eec7d2e2ccdc07709fcc4c83f0.tar.gz |
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
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions