nightly-2024-05-29: chore: remove duplicated code from LSP (#5116)
Pre-release
Pre-release
·
1231 commits
to master
since this release
# Description ## Problem\* Resolves <!-- Link to GitHub Issue --> ## Summary\* We've got some copy pasted code here so I've added a helper function for converting a "position" to a "location". ## Additional Context ## Documentation\* Check one: - [x] No documentation needed. - [ ] Documentation included in this PR. - [ ] **[For Experimental Features]** Documentation to be submitted in a separate PR. # PR Checklist\* - [x] I have tested the changes locally. - [x] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings. --------- Co-authored-by: jfecher <jake@aztecprotocol.com>