cl-ast: Give Path some inherent methods

This commit is contained in:
2024-04-22 21:04:30 -05:00
parent 169f61144b
commit 0c518b47e6
2 changed files with 32 additions and 1 deletions

View File

@@ -284,7 +284,7 @@ pub struct TyFn {
}
/// A path to an [Item] in the [Module] tree
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
#[derive(Clone, Debug, Default, PartialEq, Eq, Hash)]
pub struct Path {
pub absolute: bool,
pub parts: Vec<PathPart>,