tokio-rs / valuable

MIT License
185 stars 19 forks source link

Add clippy::indexing_slicing to the list of ignored lints #120

Closed cfcosta closed 11 months ago

cfcosta commented 11 months ago

I am currently using valuable on a project that has most clippy lints enabled, and it is showing warnings because it uses direct array indexing to access the fields on the generated macro code. Unfortunately, there's no way to ignore it directly, as it gets "imported" to application code on macro expansion.

This PR adds clippy::indexing_slicing to the listing of ignored lints.

cfcosta commented 11 months ago

@taiki-e will do. Does anyone else needs approving this for it to be merged? The test failures seem completely unrelated.

taiki-e commented 11 months ago

CI failure will be fixed in #119. I will merge this once the CI fix is merged.