remove unnecessary branch
This commit is contained in:
parent
ee39905370
commit
5e6d646ccc
@ -848,7 +848,6 @@ fn classify_name_ref(
|
|||||||
ast::TypeBound(_) => TypeLocation::TypeBound,
|
ast::TypeBound(_) => TypeLocation::TypeBound,
|
||||||
// is this case needed?
|
// is this case needed?
|
||||||
ast::TypeBoundList(_) => TypeLocation::TypeBound,
|
ast::TypeBoundList(_) => TypeLocation::TypeBound,
|
||||||
ast::TypeArg(it) => generic_arg_location(ast::GenericArg::TypeArg(it)),
|
|
||||||
ast::GenericArg(it) => generic_arg_location(it),
|
ast::GenericArg(it) => generic_arg_location(it),
|
||||||
// is this case needed?
|
// is this case needed?
|
||||||
ast::GenericArgList(it) => {
|
ast::GenericArgList(it) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user