Add doc-comments to the new files

This commit is contained in:
Igor Aleksanov 2020-11-01 13:48:42 +03:00
parent af7175f332
commit 2a214e15d3
6 changed files with 17 additions and 1 deletions

View file

@ -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>,