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

Improve output of borrowed_reborrowable #175

Open
MrGVSV opened this issue Nov 9, 2024 · 0 comments
Open

Improve output of borrowed_reborrowable #175

MrGVSV opened this issue Nov 9, 2024 · 0 comments

Comments

@MrGVSV
Copy link
Contributor

MrGVSV commented Nov 9, 2024

          This prints out `mut commands: bevy::prelude::Commands<'_, '_>`, but it seems a bit silly for the type to be fully qualified and usually-invisible lifetimes to be present. Unfortunately, other types need this data (`mut _res: bevy::prelude::ResMut<'_, Data>`), so we can't replace it with a simple `format!("mut {ident}: {}", self.name())`.

Could you make a follow-up issue to improve the suggested output of this lint?

Originally posted by @BD103 in #164 (comment)

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

No branches or pull requests

1 participant