mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-10 04:08:47 +00:00
6e9780c005
Before this PR, SourceChange used a bool and CompletionItem used an enum to signify if edit is a snippet. It makes sense to use the same pattern in both cases. `bool` feels simpler, as there's only one consumer of this API, and all producers are encapsulated anyway (we check the capability at the production site). |
||
---|---|---|
.. | ||
completions | ||
render | ||
tests | ||
completions.rs | ||
config.rs | ||
context.rs | ||
item.rs | ||
lib.rs | ||
patterns.rs | ||
render.rs | ||
tests.rs |