Add a comment about shrink_to_fit().

This commit is contained in:
Dan Gohman
2017-11-01 11:35:15 -07:00
parent 61a51f5275
commit c6d39dea5d

View File

@@ -441,6 +441,9 @@ where
debug_assert!(!data.sealed);
debug_assert!(data.undef_variables.is_empty());
data.sealed = true;
// We could call data.predecessors.shrink_to_fit() here, if
// important, because no further predecessors will be added
// to this block.
}
}
}