Skip to content

Conversation

@c410-f3r
Copy link

Just wanted to provide some contributions to the project.

Looking at the issues alone didn't provide enough context so I shamelessly went ahead with redundant_closure_for_method_calls, which is trivial to review and accept :)

Feel free to indicate more things that are feasible/solvable for someone new.

Cheers

Copy link
Collaborator

@LegNeato LegNeato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR and welcome to the project! 🍻

@LegNeato LegNeato added this pull request to the merge queue Oct 27, 2025
Merged via the queue into Rust-GPU:main with commit 808974a Oct 27, 2025
13 checks passed
Comment on lines -36 to +37
.map(|s| s.to_string())
.map(ToString::to_string)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apropos of nothing, Lean4 has a cute syntax for this I wish more languages had:

.map(·.to_string())

(based on a quick GitHub search, they literally have (·.toString) for their equivalent of the Rust |x| x.to_string())

There's a few others, I think Perl is one, but it's not as common as it could be.

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.

3 participants