mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Add way of getting docs from the code model and use for completion
This commit is contained in:
parent
6a6ce2bc95
commit
576625f0a1
5 changed files with 72 additions and 20 deletions
|
@ -23,6 +23,7 @@ mod ty;
|
|||
mod impl_block;
|
||||
mod expr;
|
||||
mod generics;
|
||||
mod docs;
|
||||
|
||||
mod code_model_api;
|
||||
mod code_model_impl;
|
||||
|
@ -45,6 +46,7 @@ pub use self::{
|
|||
ty::Ty,
|
||||
impl_block::{ImplBlock, ImplItem},
|
||||
code_model_impl::function::{FnScopes, ScopesWithSyntaxMapping},
|
||||
docs::{Docs, Documentation}
|
||||
};
|
||||
|
||||
pub use self::code_model_api::{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue