mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Add doc-comments to the new files
This commit is contained in:
parent
af7175f332
commit
2a214e15d3
6 changed files with 17 additions and 1 deletions
|
@ -23,11 +23,13 @@ pub(crate) use crate::render::{
|
|||
macro_::MacroRender, type_alias::TypeAliasRender,
|
||||
};
|
||||
|
||||
/// Generic renderer for completion items.
|
||||
#[derive(Debug)]
|
||||
pub(crate) struct Render<'a> {
|
||||
ctx: RenderContext<'a>,
|
||||
}
|
||||
|
||||
/// Interface for data and methods required for items rendering.
|
||||
#[derive(Debug)]
|
||||
pub(crate) struct RenderContext<'a> {
|
||||
completion: &'a CompletionContext<'a>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue