rust/crates
Martin Huschenbett b9933fdaaa minor: Simplify implementation of apply_document_changes
While reading through the code base, I stumbled across a piece of code that I found hard to read despite its simple purpose. This is my attempt at making the code easier to understand for future readers.

I won't be offended if this is too minor and not worth your time.
2023-12-30 19:21:35 +01:00
..
base-db Auto merge of #16178 - Veykril:builtin-fn-callsite, r=Veykril 2023-12-21 15:22:23 +00:00
cfg Remove Delimiter::DUMMY_INVISIBLE 2023-12-20 14:00:14 +01:00
flycheck internal: Move out WithFixture into dev-dep only crate 2023-12-18 15:24:08 +01:00
hir Fix some comments 2023-12-29 11:50:24 +08:00
hir-def internal: Cleanup Expander a bit 2023-12-22 13:01:13 +01:00
hir-expand Special case fixup spans in server::Span impl, they are immutable 2023-12-22 10:13:00 +01:00
hir-ty Auto merge of #16167 - Veykril:dummy-spans, r=Veykril 2023-12-20 13:33:36 +00:00
ide Auto merge of #16137 - unexge:complete-macros-in-macro-use, r=Veykril 2023-12-22 10:42:38 +00:00
ide-assists test: add test case for remove comma 2023-12-22 21:04:53 +08:00
ide-completion Auto merge of #16184 - Veykril:completion-panic, r=Veykril 2023-12-22 12:13:46 +00:00
ide-db Remove usages of Span::DUMMY 2023-12-20 12:53:46 +01:00
ide-diagnostics add test case for negative impl 2023-12-24 20:07:33 +08:00
ide-ssr internal: Move out WithFixture into dev-dep only crate 2023-12-18 15:24:08 +01:00
intern internal: Move out WithFixture into dev-dep only crate 2023-12-18 15:24:08 +01:00
limit Merge commit '457b966b171b09a7e57acb710fbca29a4b3526f0' into sync-from-ra 2023-12-11 11:16:01 +02:00
load-cargo internal: Move out WithFixture into dev-dep only crate 2023-12-18 15:24:08 +01:00
mbe Auto merge of #16167 - Veykril:dummy-spans, r=Veykril 2023-12-20 13:33:36 +00:00
parser Merge commit '457b966b171b09a7e57acb710fbca29a4b3526f0' into sync-from-ra 2023-12-11 11:16:01 +02:00
paths Merge commit '457b966b171b09a7e57acb710fbca29a4b3526f0' into sync-from-ra 2023-12-11 11:16:01 +02:00
proc-macro-api More general server config message for proc-macro-api 2023-12-22 10:35:10 +01:00
proc-macro-srv Special case fixup spans in server::Span impl, they are immutable 2023-12-22 10:13:00 +01:00
proc-macro-srv-cli More general server config message for proc-macro-api 2023-12-22 10:35:10 +01:00
profile Merge commit '457b966b171b09a7e57acb710fbca29a4b3526f0' into sync-from-ra 2023-12-11 11:16:01 +02:00
project-model Auto merge of #16165 - Veykril:meta-vars, r=Veykril 2023-12-20 10:30:58 +00:00
rust-analyzer minor: Simplify implementation of apply_document_changes 2023-12-30 19:21:35 +01:00
rustc-dependencies Merge commit '457b966b171b09a7e57acb710fbca29a4b3526f0' into sync-from-ra 2023-12-11 11:16:01 +02:00
sourcegen Don't auto-publish sourcegen 2023-12-18 15:54:01 +02:00
span Special case fixup spans in server::Span impl, they are immutable 2023-12-22 10:13:00 +01:00
stdx Auto merge of #118817 - lnicola:sync-from-ra, r=lnicola 2023-12-12 08:22:37 +00:00
syntax fix: remove wrong comma after remove unnecessary braces 2023-12-22 21:02:13 +08:00
test-fixture Try to support pre and post-change metavars 2023-12-19 20:45:12 +01:00
test-utils fix: Fix span marking for builtin fn macros 2023-12-21 16:20:27 +01:00
text-edit Merge commit '457b966b171b09a7e57acb710fbca29a4b3526f0' into sync-from-ra 2023-12-11 11:16:01 +02:00
toolchain Merge commit '457b966b171b09a7e57acb710fbca29a4b3526f0' into sync-from-ra 2023-12-11 11:16:01 +02:00
tt Remove SyntaxContext trait 2023-12-20 14:02:40 +01:00
vfs internal: Move out WithFixture into dev-dep only crate 2023-12-18 15:24:08 +01:00
vfs-notify Merge commit '457b966b171b09a7e57acb710fbca29a4b3526f0' into sync-from-ra 2023-12-11 11:16:01 +02:00