aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty/src/test_db.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-12-22 16:13:53 +0000
committerAleksey Kladov <[email protected]>2020-12-22 16:13:53 +0000
commit41bc32368e907f939bffb25e73bce08ae912674c (patch)
tree2f3da42b26e98cbfdc34b6eb8651e3ffc832c06e /crates/hir_ty/src/test_db.rs
parentb98ee075ee8baa6dc4284f04df4c7012baccda28 (diff)
Improve extract_module_to_file assist
* simplify code * correctly handle crate roots and mod.rs files (nested inline modules are still mishandled) * make sure that new text contains a trailing newline
Diffstat (limited to 'crates/hir_ty/src/test_db.rs')
0 files changed, 0 insertions, 0 deletions