diff options
| author | León Orell Valerian Liehr <me@fmease.dev> | 2024-06-13 13:05:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-13 13:05:27 +0200 |
| commit | f1a4f30940eb784ff28ccbe66ff72438b614a48b (patch) | |
| tree | 66dc4a4d3f9bb3f94fd493d0c5ec8dcc19d3973c | |
| parent | 393b526018dac9a42a411492408698509e6ee7c0 (diff) | |
| parent | 898b541cb6b6dcac2f2a45fb5f24de596851deb7 (diff) | |
| download | rust-f1a4f30940eb784ff28ccbe66ff72438b614a48b.tar.gz rust-f1a4f30940eb784ff28ccbe66ff72438b614a48b.zip | |
Rollup merge of #126384 - RalfJung:is_none_or, r=workingjubilee
add tracking issue for is_none_or This was forgotten in https://github.com/rust-lang/rust/pull/126328. Cc https://github.com/rust-lang/rust/issues/126383
| -rw-r--r-- | library/core/src/option.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/option.rs b/library/core/src/option.rs index 403fe4ff04c..4d6ba2fa3b3 100644 --- a/library/core/src/option.rs +++ b/library/core/src/option.rs @@ -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, |
