We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 997dc2e commit 1765014Copy full SHA for 1765014
crates/ty_python_semantic/src/semantic_index/reachability_constraints.rs
@@ -334,7 +334,9 @@ pub(crate) struct ReachabilityConstraintsBuilder {
334
}
335
336
impl ReachabilityConstraintsBuilder {
337
- pub(crate) fn build(self) -> ReachabilityConstraints {
+ pub(crate) fn build(mut self) -> ReachabilityConstraints {
338
+ self.interiors.shrink_to_fit();
339
+
340
ReachabilityConstraints {
341
interiors: self.interiors,
342
0 commit comments