Skip to content

Investigate Coding Guideline => Clippy Match: The ‘as’ operator should not be used with numeric operands #1213

Description

@PLeVasseur

The ‘as’ operator should not be used with numeric operands

  • No as with integers is extremely similar to existing lints (no blanket lint but a widening lint exists) e.g. clippy::cast_lossless - inexact match but demonstrates checking of as

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions