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

Describe that impl_type_path can accept trait bounds #11651

Closed
tguichaoua opened this issue Feb 1, 2024 · 0 comments · Fixed by #11810
Closed

Describe that impl_type_path can accept trait bounds #11651

tguichaoua opened this issue Feb 1, 2024 · 0 comments · Fixed by #11810
Labels
A-Reflection Runtime information about types C-Docs An addition or correction to our documentation

Comments

@tguichaoua
Copy link
Contributor

How can Bevy's documentation be improved?

The docs of impl_type_path from bevy_reflect didn't mention it's possible to pass trait bounds for generic types like this:

impl_type_path!(::alloc::boxed::Box<T: ?Sized>);
@tguichaoua tguichaoua added C-Docs An addition or correction to our documentation S-Needs-Triage This issue needs to be labelled labels Feb 1, 2024
@tim-blackbird tim-blackbird added A-Reflection Runtime information about types and removed S-Needs-Triage This issue needs to be labelled labels Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Reflection Runtime information about types C-Docs An addition or correction to our documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants