Skip to content

Conversation

@luxalpa
Copy link
Contributor

@luxalpa luxalpa commented Dec 29, 2025

I was experimenting with trying to get my app rely less on nightly rust (as I am starting to get annoyed by the frequent ICE's).

I found a TODO that was asking to do the IntoParam implementation in a non-nightly way. Looking a bit around I found several methods of doing that. In the end, this one seemed to lead to the simplest implementation. It's based on the fact that the compiler will pick the inherent impl of a function over the trait impl.

Please note that my implementation also allows the user to override the default behavior by providing their own IntoParam implementations for their own types. I am unsure if that is desired or not, but we could change it in case it's not.

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