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

Remove redundant apply call #560

Closed
wants to merge 1 commit into from
Closed

Conversation

mahozad
Copy link

@mahozad mahozad commented Mar 20, 2025

Simplify list.apply { sortBy(HazeArea::zIndex) } to list.sortBy(HazeArea::zIndex).

@chrisbanes chrisbanes enabled auto-merge (squash) March 20, 2025 19:48
@mahozad
Copy link
Author

mahozad commented Mar 22, 2025

The build failed. Seems it was not redundant!

@chrisbanes
Copy link
Owner

Ah yeah, we're sorting on a mutable list so it doesn't return the sorted list. Closing this.

@chrisbanes chrisbanes closed this Mar 22, 2025
auto-merge was automatically disabled March 22, 2025 08:11

Pull request was closed

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