Skip to content

How to deal with #[warn(clippy::too_many_arguments)] #44

@igalic

Description

@igalic

We've recently started a PR to clippy-fy our code Plume-org/Plume#462 and we're hitting some limits in Ructe, with regard to how templates are generated as functions

in our case, as functions with lots of parameters, despite having extracted a BaseContext

Here's an example of such a function: https://github.com/Plume-org/Plume/blob/master/templates/posts/details.rs.html#L12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions