Rename Res::kind_name to Res::descr for consistency
This commit is contained in:
parent
917a0fbc1b
commit
85ddd1dc58
8 changed files with 17 additions and 17 deletions
|
|
@ -370,7 +370,7 @@ impl<Id> Res<Id> {
|
|||
}
|
||||
|
||||
/// A human readable name for the res kind ("function", "module", etc.).
|
||||
pub fn kind_name(&self) -> &'static str {
|
||||
pub fn descr(&self) -> &'static str {
|
||||
match *self {
|
||||
Res::Def(kind, _) => kind.descr(),
|
||||
Res::SelfCtor(..) => "self constructor",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue