mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03: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).