Skip to content

Commit 3e69220

Browse files
committed
Auto merge of #13472 - linyihai:remove-unused-func, r=weihanglo
chore: remove the unused function ### What does this PR try to resolve? Remove the unused function. The code that uses this function has been removed, so it no longer makes sense to keep it. ### How should we test and review this PR? ### Additional information
2 parents 7329054 + f9402ef commit 3e69220

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/cargo/core/resolver/context.rs

-7
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)