Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make SINGLE_CHAR_PATTERN check for bounds, not self type #871

Open
mcarton opened this issue Apr 23, 2016 · 0 comments
Open

Make SINGLE_CHAR_PATTERN check for bounds, not self type #871

mcarton opened this issue Apr 23, 2016 · 0 comments
Labels
C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages E-hard Call for participation: This a hard problem and requires more experience or effort to work on

Comments

@mcarton
Copy link
Member

mcarton commented Apr 23, 2016

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

@mcarton mcarton added E-hard Call for participation: This a hard problem and requires more experience or effort to work on C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages labels Apr 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Category: Enhancement of lints, like adding more cases or adding help messages E-hard Call for participation: This a hard problem and requires more experience or effort to work on
Projects
None yet
Development

No branches or pull requests

1 participant