Skip to content

Make SINGLE_CHAR_PATTERN check for bounds, not self type #871

Open
@mcarton

Description

@mcarton

See #830 & #867.
It’d be better to check that the argument is Pattern instead of self is &str in SINGLE_CHAR_PATTERN.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: Enhancement of lints, like adding more cases or adding help messagesE-hardCall for participation: This a hard problem and requires more experience or effort to work on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions