mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-13 21:54:42 +00:00
Merge #9773
9773: internal: Improve `extract_function` assist r=Veykril a=Veykril - fix: It doesn't try to overwrite parts of selected comments any longer - fix: It doesn't wrap tail expressions and return types in a result or option unnecessarily - feat?: It now adds a `const` modifier to the created function if extract somethings from a const context Fixes #7840 Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
This commit is contained in:
commit
09ec0a15fa
1 changed files with 519 additions and 341 deletions
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue