diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-12-22 10:04:24 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-22 10:04:24 +0000 |
commit | b98ee075ee8baa6dc4284f04df4c7012baccda28 (patch) | |
tree | 66904d52167d8bdb45f598499538a17ef1f906e4 /crates/ide_db/src/source_change.rs | |
parent | 61711d975777b176ca2a93ec1ceb2bed661fc6d7 (diff) | |
parent | 23ed33a3a6b92064ae711bac305ac163f1fda4f5 (diff) |
Merge #6746
6746: Feature/add assist extract module to file r=matklad a=sasurau4
Fix #6522
## Screenshot
<img src="https://user-images.githubusercontent.com/13580199/102748269-33a44300-43a5-11eb-9e37-f5fcb8e62f73.gif" width=600 />
## TODO
- [x] Remove all TODO comment
- [x] Pass the doc test
Co-authored-by: Daiki Ihara <[email protected]>
Diffstat (limited to 'crates/ide_db/src/source_change.rs')
-rw-r--r-- | crates/ide_db/src/source_change.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ide_db/src/source_change.rs b/crates/ide_db/src/source_change.rs index e87d98dad..10c0abdac 100644 --- a/crates/ide_db/src/source_change.rs +++ b/crates/ide_db/src/source_change.rs | |||
@@ -44,7 +44,7 @@ impl From<Vec<SourceFileEdit>> for SourceChange { | |||
44 | 44 | ||
45 | #[derive(Debug, Clone)] | 45 | #[derive(Debug, Clone)] |
46 | pub enum FileSystemEdit { | 46 | pub enum FileSystemEdit { |
47 | CreateFile { dst: AnchoredPathBuf }, | 47 | CreateFile { dst: AnchoredPathBuf, initial_contents: String }, |
48 | MoveFile { src: FileId, dst: AnchoredPathBuf }, | 48 | MoveFile { src: FileId, dst: AnchoredPathBuf }, |
49 | } | 49 | } |
50 | 50 | ||