mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Cleanup
This commit is contained in:
parent
4ef6a49b44
commit
4303e741de
42 changed files with 433 additions and 468 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue