mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 22:01:37 +00:00
7526: Rename crate assists to ide_assists.
This commit is contained in:
parent
8687053b11
commit
e4756cb4f6
73 changed files with 26 additions and 26 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue