Merge pull request #19015 from Wilfred/mdbook

manual: Convert to mdbook
This commit is contained in:
Lukas Wirth 2025-01-28 16:19:37 +00:00 committed by GitHub
commit 07a09c154e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
70 changed files with 2836 additions and 2686 deletions

View file

@ -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);