internal: add "Shuffle Crate Graph" command
This commit is contained in:
@@ -97,6 +97,11 @@ pub(crate) fn handle_memory_usage(state: &mut GlobalState, _: ()) -> Result<Stri
|
||||
Ok(out)
|
||||
}
|
||||
|
||||
pub(crate) fn handle_shuffle_crate_graph(state: &mut GlobalState, _: ()) -> Result<()> {
|
||||
state.analysis_host.shuffle_crate_graph();
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub(crate) fn handle_syntax_tree(
|
||||
snap: GlobalStateSnapshot,
|
||||
params: lsp_ext::SyntaxTreeParams,
|
||||
|
||||
Reference in New Issue
Block a user