ZIm/crates/diagnostics/src
Marshall Bowers 298ca5ff1b
Prefer .map for conditionals with else conditions (#15118)
This PR updates instances where we were using `.when_else` and
`.when_else_some` to use `.map` with a conditional inside.

This allows us to avoid reinventing Rust's syntax for conditionals and
(IMO) makes the code easier to read.

Release Notes:

- N/A
2024-07-24 17:09:07 -04:00
..
diagnostics.rs Avoid losing focus when block decorations go offscreen (#14815) 2024-07-19 17:04:18 +02:00
diagnostics_tests.rs lsp: Pass back diagnostic .data when querying code actions for it (#14962) 2024-07-22 17:49:11 +02:00
grouped_diagnostics.rs Prefer .map for conditionals with else conditions (#15118) 2024-07-24 17:09:07 -04:00
items.rs Allow canceling in-progress language server work (e.g. cargo check) (#13173) 2024-06-17 17:58:47 -07:00
project_diagnostics_settings.rs Add the ability for extensions to provide language settings (#10296) 2024-04-08 19:17:12 -04:00
toolbar_controls.rs Improve same line diagnostic rendering (#14741) 2024-07-18 17:22:38 +03:00