mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Move dot
invocation to rust-analyzer crate
This commit is contained in:
parent
a328a6bc75
commit
23cd6d0d56
3 changed files with 19 additions and 27 deletions
|
@ -288,6 +288,7 @@ impl Analysis {
|
|||
self.with_db(|db| view_hir::view_hir(&db, position))
|
||||
}
|
||||
|
||||
/// Renders the crate graph to GraphViz "dot" syntax.
|
||||
pub fn view_crate_graph(&self) -> Cancelable<Result<String, String>> {
|
||||
self.with_db(|db| view_crate_graph::view_crate_graph(&db))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue