Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

min,max macros; 0.3.9 release #28

Merged
merged 9 commits into from
Apr 17, 2024
Merged

min,max macros; 0.3.9 release #28

merged 9 commits into from
Apr 17, 2024

Conversation

rodrimati1992
Copy link
Owner

No description provided.

Added reexports of these macros in `konst::cmp`:
- `coerce_to_cmp`
- `const_cmp`
- `const_cmp_for`
- `const_eq`
- `const_eq_for`
- `impl_cmp`
- `max`
- `max_by`
- `max_by_key`
- `min`
- `min_by`
- `min_by_key`

Fixed links to std equivalents of min and max macros.

Added docs for what argument gets returned by min/max macros when
the arguments compare equal.
Now `__parse_closure_2` can parse closures whose parameters have explicit types
e.g: `|foo: Bar, baz: Qux| {`.

Updated tests
@rodrimati1992 rodrimati1992 merged commit d4816be into main Apr 17, 2024
5 checks passed
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