No need to export functions only used in the same module

This commit is contained in:
Oliver Scherer 2018-12-04 10:03:21 +01:00
parent 982a9662c5
commit 7181aa1763

View file

@ -404,7 +404,7 @@ impl<'tcx> AllocMap<'tcx> {
/// Freeze an `AllocId` created with `reserve` by pointing it at an `Allocation`. May be called
/// twice for the same `(AllocId, Allocation)` pair.
pub fn set_alloc_id_same_memory(&mut self, id: AllocId, mem: &'tcx Allocation) {
fn set_alloc_id_same_memory(&mut self, id: AllocId, mem: &'tcx Allocation) {
self.id_to_kind.insert_same(id, AllocKind::Memory(mem));
}
}