-
Notifications
You must be signed in to change notification settings - Fork 50
misleading_variable_name works weirdly #1903
Copy link
Copy link
Open
Labels
good first issueGood for newcomersGood for newcomers
Description
It seems that misleading_variable_name starts matching names from the end and only a small part of them. Is this normal behavior? If so, I suggest adding a setting to this lint that allows you to specify which side to start the comparison from.
let up: UpdateSchemePath = path.into_inner(); // negative
let query: UpdateSchemeQuery = query.into_inner();
^^^^^
// `dropshot::extractor::query` exports a type `Query`, which is not
// the type of `query` use a name other than `query`Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomers