Remove dead code

This commit is contained in:
Aleksey Kladov 2019-12-18 17:52:52 +01:00
parent d33fc26e05
commit afdeacf3c1

View file

@ -130,11 +130,6 @@ impl Path {
Path { type_anchor: None, mod_path: name_ref.as_name().into(), generic_args: vec![None] }
}
/// `true` if this path is just a standalone `self`
pub fn is_self(&self) -> bool {
self.mod_path.is_self()
}
pub fn kind(&self) -> &PathKind {
&self.mod_path.kind
}