mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Use classify_name_ref in hover
This commit is contained in:
parent
cbafae6fa8
commit
34322ea9a3
3 changed files with 130 additions and 13 deletions
|
@ -13,6 +13,7 @@ pub use structure::{StructureNode, file_structure};
|
|||
pub use function_signature::FunctionSignature;
|
||||
|
||||
pub(crate) use short_label::ShortLabel;
|
||||
pub(crate) use navigation_target::{docs_from_symbol, description_from_symbol};
|
||||
|
||||
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