This commit is contained in:
Lukas Wirth 2024-03-04 11:10:06 +01:00
parent 4ef6a49b44
commit 4303e741de
42 changed files with 433 additions and 468 deletions

View file

@ -144,6 +144,12 @@ impl ModPath {
}
}
impl Extend<Name> for ModPath {
fn extend<T: IntoIterator<Item = Name>>(&mut self, iter: T) {
self.segments.extend(iter);
}
}
struct Display<'a> {
db: &'a dyn ExpandDatabase,
path: &'a ModPath,