mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
Rename Description to ShortLabel
This commit is contained in:
parent
358ad0efca
commit
41cb3fd758
5 changed files with 133 additions and 133 deletions
|
@ -4,7 +4,7 @@
|
|||
mod function_signature;
|
||||
mod navigation_target;
|
||||
mod structure;
|
||||
mod description;
|
||||
mod short_label;
|
||||
|
||||
use ra_syntax::{ast::{self, AstNode, TypeParamsOwner}, SyntaxKind::{ATTR, COMMENT}};
|
||||
|
||||
|
@ -12,7 +12,7 @@ pub use navigation_target::NavigationTarget;
|
|||
pub use structure::{StructureNode, file_structure};
|
||||
pub use function_signature::FunctionSignature;
|
||||
|
||||
pub(crate) use description::Description;
|
||||
pub(crate) use short_label::ShortLabel;
|
||||
|
||||
pub(crate) fn function_label(node: &ast::FnDef) -> String {
|
||||
FunctionSignature::from(node).to_string()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue