mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Move Expander and LowerCtx into separate modules
This commit is contained in:
parent
fd4bbcabe8
commit
bca8029a6e
25 changed files with 487 additions and 402 deletions
|
@ -109,6 +109,9 @@ impl LineIndex {
|
|||
line_wide_chars.insert(line, wide_chars);
|
||||
}
|
||||
|
||||
newlines.shrink_to_fit();
|
||||
line_wide_chars.shrink_to_fit();
|
||||
|
||||
LineIndex { newlines, line_wide_chars }
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue