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
Implement Clippy #59
Comments
Probably good form to get clippy into the mix, I can help with this one. |
First cut on issue-59 branch, documented remaining errors above |
Nice one, @davidkuhta! How would you like to approach the remaining ones? |
@kanerogers How about just talk through them as I had a few thoughts on each. TMA 1It's only used for initializing GameContext, how about passing it the |
TMA 2It seems like there's an element of |
TMA 3Given that this is a simple |
TMA 4I think we should pass |
TMA 5Lot's of |
TC 1Definitely feels like there's an opportunity for those items to be captured in a |
TC 2So 2 thoughts here, from the docs it appears |
TC 3Not sure if there's anything that could be done here, as it seems to be |
NSFiST 1Suggest warning suppress and then put separate issue, given the nuances about |
Solution: bundle up |
Solution: split up the three tasks:
|
Solution: agreed, let's just suppress this for now |
Solution: I think your proposed solution is good; let me just investigate this further and get back to you |
Solution: wrap the textures in a struct like |
Solution: I think the return type is an Image? If not, it probably should be! |
Solution: split this out into its own issue |
Solution: whisper words of wisdom / let it be |
Solution: this may have been a solution to appease |
@davidkuhta Just took a look at the stuff re: |
Description
Clippy will probably get mad.
TODO
Problems
Clippy: Too Many Arguments
add_panel_to_world
(10/7)load_node
(8/7)new
(8/7)create_texture_image
(9/7)create_textures_descriptor_sets
(8/7)Clippy: Type Complexity
warning: very complex type used. Consider factoring parts into
type
definitionsClippy: Non Send Fields in Send Type
impl Send for AudioContext
The text was updated successfully, but these errors were encountered: