Skip to content

Commit f9402ef

Browse files
committed
chore: remove the unused function
1 parent 194a60b commit f9402ef

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/cargo/core/resolver/context.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,3 @@ impl ResolverContext {
229229
graph
230230
}
231231
}
232-
233-
impl Graph<PackageId, im_rc::HashSet<Dependency>> {
234-
pub fn parents_of(&self, p: PackageId) -> impl Iterator<Item = (PackageId, bool)> + '_ {
235-
self.edges(&p)
236-
.map(|(grand, d)| (*grand, d.iter().any(|x| x.is_public())))
237-
}
238-
}

0 commit comments

Comments
 (0)