Skip to content

Some statements can be simplified for readability #1242

Open
@hamirmahal

Description

@hamirmahal

We can replace lines like

assert_eq!(N, len, "asked for {} groups, but must ask for {}", N, len);

with

assert_eq!(N, len, "asked for {N} groups, but must ask for {len}");

to improve code readability and maintainability.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions