Skip to content

Cyclomatic Complexity should not count code in debug_assert #2249

Open
@oli-obk

Description

@oli-obk

Found an allow(cyclomatic_complexity) in chrono:

chronotope/chrono@4c18d70

I assume that all the complexity comes from the expansion of these assert macros. We should treat them as function calls.

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