diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-26 19:06:34 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-26 19:06:34 +0000 |
commit | d10e2a04c8a5ff157acd95bc7458d36d9f396390 (patch) | |
tree | fb68b034d7e56053e5d1b4302e2996f64b024e11 /crates/proc_macro_srv/src/tests/mod.rs | |
parent | d01e412eb1572676a33ad145f3370a7157dbc9df (diff) | |
parent | 357bf0cedc658b7c95952324fda4bbe7f41a3e6a (diff) |
Merge #6351
6351: Organized completions r=popzxc a=popzxc
This PR continues the work on refactoring of the `completions` crate.
In this episode:
- Actual completions methods are encapsulated into `completions` module, so they aren't mixed with the rest of the code.
- Name duplication was removed (`complete_attribute` => `completions::attribute`, `completion_context` => `context`).
- `Completions` structure was moved from `item` module to the `completions`.
- `presentation` module was removed, as it was basically a module with `impl` for `Completions`.
- Code approaches were a bit unified here and there.
Co-authored-by: Igor Aleksanov <[email protected]>
Diffstat (limited to 'crates/proc_macro_srv/src/tests/mod.rs')
0 files changed, 0 insertions, 0 deletions