Remove some unnecessary pub markers.

This commit is contained in:
Nicholas Nethercote 2023-05-25 14:27:37 +10:00
parent 59c5259bc9
commit 86754cd8f2

View file

@ -182,7 +182,7 @@ impl<'tcx> Partition<'tcx> for Partitioner {
} }
} }
pub struct PartitioningCx<'a, 'tcx> { struct PartitioningCx<'a, 'tcx> {
tcx: TyCtxt<'tcx>, tcx: TyCtxt<'tcx>,
target_cgu_count: usize, target_cgu_count: usize,
inlining_map: &'a InliningMap<'tcx>, inlining_map: &'a InliningMap<'tcx>,
@ -231,7 +231,7 @@ fn get_partitioner(tcx: TyCtxt<'_>) -> Partitioner {
} }
} }
pub fn partition<'tcx, I>( fn partition<'tcx, I>(
tcx: TyCtxt<'tcx>, tcx: TyCtxt<'tcx>,
mono_items: &mut I, mono_items: &mut I,
max_cgu_count: usize, max_cgu_count: usize,