Skip to content

Add boolinator#36

Draft
joshtriplett wants to merge 1 commit into
rust-lang:mainfrom
joshtriplett:boolinator
Draft

Add boolinator#36
joshtriplett wants to merge 1 commit into
rust-lang:mainfrom
joshtriplett:boolinator

Conversation

@joshtriplett

Copy link
Copy Markdown
Member

The core functionality of this crate now exists as bool::then,
bool::then_some, bool::ok_or, and bool::ok_or_else.

Some of the other combinators don't exist directly, so this is a partial
replacement, though it may suffice for many users.


Draft, as bool::ok_or, and bool::ok_or_else won't hit stable until 1.98, so
this PR should not get merged until then.

The core functionality of this crate now exists as `bool::then`,
`bool::then_some`, `bool::ok_or`, and `bool::ok_or_else`.

Some of the other combinators don't exist directly, so this is a partial
replacement, though it may suffice for many users.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant