someguynamedjosh / ouroboros

Easy self-referential struct generation for Rust.
Apache License 2.0
524 stars 33 forks source link

Clippy complains about too many arguments #80

Open zaddach opened 1 year ago

zaddach commented 1 year ago

I'm getting

warning: this function has too many arguments (22/7)

from my code using ouroboros. I guess this could be addressed quickly with a #[allow(clippy::too_many_arguments)] in the right place in the macro-generated code.

rchriste commented 3 weeks ago

I just opened a PR that addresses this - https://github.com/someguynamedjosh/ouroboros/pull/121