diff options
author | Aleksey Kladov <[email protected]> | 2020-12-22 16:13:53 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-12-22 16:13:53 +0000 |
commit | 41bc32368e907f939bffb25e73bce08ae912674c (patch) | |
tree | 2f3da42b26e98cbfdc34b6eb8651e3ffc832c06e /crates/hir_def/src/dyn_map.rs | |
parent | b98ee075ee8baa6dc4284f04df4c7012baccda28 (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_def/src/dyn_map.rs')
0 files changed, 0 insertions, 0 deletions