diff options
| author | Max Heller <max.a.heller@gmail.com> | 2023-08-05 08:14:44 -0400 |
|---|---|---|
| committer | Max Heller <max.a.heller@gmail.com> | 2023-08-05 08:14:44 -0400 |
| commit | 5e6d646ccc0677f6ea68da7ef964cfee2c1e28f0 (patch) | |
| tree | bc82256716285cc8cdc26a38e3df36e692cb48a2 | |
| parent | ee39905370c84085335276b49c04d58399cb3697 (diff) | |
| download | rust-5e6d646ccc0677f6ea68da7ef964cfee2c1e28f0.tar.gz rust-5e6d646ccc0677f6ea68da7ef964cfee2c1e28f0.zip | |
remove unnecessary branch
| -rw-r--r-- | crates/ide-completion/src/context/analysis.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ide-completion/src/context/analysis.rs b/crates/ide-completion/src/context/analysis.rs index 4bd429c5723..8de4d0827f9 100644 --- a/crates/ide-completion/src/context/analysis.rs +++ b/crates/ide-completion/src/context/analysis.rs @@ -848,7 +848,6 @@ fn classify_name_ref( ast::TypeBound(_) => TypeLocation::TypeBound, // is this case needed? ast::TypeBoundList(_) => TypeLocation::TypeBound, - ast::TypeArg(it) => generic_arg_location(ast::GenericArg::TypeArg(it)), ast::GenericArg(it) => generic_arg_location(it), // is this case needed? ast::GenericArgList(it) => { |
