Move navigation_target to display/navigation_target

This commit is contained in:
Ville Penttinen 2019-04-08 12:20:28 +03:00
parent 946b5789d1
commit 027d4d229d
4 changed files with 6 additions and 4 deletions

View file

@ -7,6 +7,10 @@ use ra_syntax::{ast::{self, AstNode, NameOwner, VisibilityOwner, TypeParamsOwner
use std::convert::From;
use hir::Docs;
pub mod navigation_target;
pub use navigation_target::NavigationTarget;
pub(crate) fn function_label(node: &ast::FnDef) -> String {
FunctionSignature::from(node).to_string()
}