7526: Rename crate assists to ide_assists.

This commit is contained in:
Chetan Khilosiya 2021-02-23 00:17:48 +05:30
parent 8687053b11
commit e4756cb4f6
73 changed files with 26 additions and 26 deletions

View file

@ -32,7 +32,7 @@ struct Assist {
impl Assist {
fn collect() -> Result<Vec<Assist>> {
let mut res = Vec::new();
for path in rust_files_in(&project_root().join("crates/assists/src/handlers")) {
for path in rust_files_in(&project_root().join("crates/ide_assists/src/handlers")) {
collect_file(&mut res, path.as_path())?;
}
res.sort_by(|lhs, rhs| lhs.id.cmp(&rhs.id));
@ -135,7 +135,7 @@ r#####"
buf.push_str(&test)
}
let buf = reformat(&buf)?;
codegen::update(&project_root().join("crates/assists/src/tests/generated.rs"), &buf, mode)
codegen::update(&project_root().join("crates/ide_assists/src/tests/generated.rs"), &buf, mode)
}
fn hide_hash_comments(text: &str) -> String {