remove unnecessary branch

This commit is contained in:
Max Heller 2023-08-05 08:14:44 -04:00
parent ee39905370
commit 5e6d646ccc

View File

@ -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) => {