internal: add "Shuffle Crate Graph" command
This commit is contained in:
@@ -56,6 +56,7 @@ mod typing;
|
||||
mod view_crate_graph;
|
||||
mod view_hir;
|
||||
mod view_item_tree;
|
||||
mod shuffle_crate_graph;
|
||||
|
||||
use std::sync::Arc;
|
||||
|
||||
@@ -177,6 +178,10 @@ impl AnalysisHost {
|
||||
pub fn raw_database_mut(&mut self) -> &mut RootDatabase {
|
||||
&mut self.db
|
||||
}
|
||||
|
||||
pub fn shuffle_crate_graph(&mut self) {
|
||||
shuffle_crate_graph::shuffle_crate_graph(&mut self.db);
|
||||
}
|
||||
}
|
||||
|
||||
impl Default for AnalysisHost {
|
||||
|
||||
Reference in New Issue
Block a user