mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-23 03:44:23 +00:00
updated ide-assist new dir name
This commit is contained in:
parent
55e7925ac8
commit
e53bf7e9c2
2 changed files with 2 additions and 2 deletions
BIN
crates/ide-assists/src/tests/.sourcegen.rs.swp
Normal file
BIN
crates/ide-assists/src/tests/.sourcegen.rs.swp
Normal file
Binary file not shown.
|
@ -41,7 +41,7 @@ r#####"
|
||||||
}
|
}
|
||||||
let buf = sourcegen::add_preamble("sourcegen_assists_docs", sourcegen::reformat(buf));
|
let buf = sourcegen::add_preamble("sourcegen_assists_docs", sourcegen::reformat(buf));
|
||||||
sourcegen::ensure_file_contents(
|
sourcegen::ensure_file_contents(
|
||||||
&project_root().join("crates/ide_assists/src/tests/generated.rs"),
|
&project_root().join("crates/ide-assists/src/tests/generated.rs"),
|
||||||
&buf,
|
&buf,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -75,7 +75,7 @@ struct Assist {
|
||||||
|
|
||||||
impl Assist {
|
impl Assist {
|
||||||
fn collect() -> Vec<Assist> {
|
fn collect() -> Vec<Assist> {
|
||||||
let handlers_dir = project_root().join("crates/ide_assists/src/handlers");
|
let handlers_dir = project_root().join("crates/ide-assists/src/handlers");
|
||||||
|
|
||||||
let mut res = Vec::new();
|
let mut res = Vec::new();
|
||||||
for path in sourcegen::list_rust_files(&handlers_dir) {
|
for path in sourcegen::list_rust_files(&handlers_dir) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue