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

Use builtin min function #556

Merged
merged 1 commit into from
Aug 7, 2024
Merged

Conversation

jhalterman
Copy link
Member

@jhalterman jhalterman commented Aug 7, 2024

Replaces a few usages of math.Min with the builtin min that was added in Go 1.21, and removes Math.min since it was internal.

@jhalterman jhalterman merged commit 859371e into grafana:main Aug 7, 2024
5 checks passed
@jhalterman jhalterman deleted the use-builtin-min branch August 7, 2024 16:28
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.

2 participants