mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-31 20:09:01 +00:00
Merge pull request #19015 from Wilfred/mdbook
manual: Convert to mdbook
This commit is contained in:
commit
07a09c154e
70 changed files with 2836 additions and 2686 deletions
|
|
@ -15,11 +15,9 @@ use triomphe::Arc;
|
|||
//
|
||||
// Shows a tree view with the syntax tree of the current file
|
||||
//
|
||||
// |===
|
||||
// | Editor | Panel Name
|
||||
//
|
||||
// | VS Code | **Rust Syntax Tree**
|
||||
// |===
|
||||
// | Editor | Panel Name |
|
||||
// |---------|-------------|
|
||||
// | VS Code | **Rust Syntax Tree** |
|
||||
pub(crate) fn view_syntax_tree(db: &RootDatabase, file_id: FileId) -> String {
|
||||
let sema = Semantics::new(db);
|
||||
let line_index = db.line_index(file_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue