Add display::Description
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
mod function_signature;
|
||||
mod navigation_target;
|
||||
mod structure;
|
||||
mod description;
|
||||
|
||||
use ra_syntax::{ast::{self, AstNode, TypeParamsOwner}, SyntaxKind::{ATTR, COMMENT}};
|
||||
|
||||
@@ -11,6 +12,8 @@ pub use navigation_target::NavigationTarget;
|
||||
pub use structure::{StructureNode, file_structure};
|
||||
pub use function_signature::FunctionSignature;
|
||||
|
||||
pub(crate) use description::Description;
|
||||
|
||||
pub(crate) fn function_label(node: &ast::FnDef) -> String {
|
||||
FunctionSignature::from(node).to_string()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user