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 @@ fn internalize_symbols(
}
}
pub struct PartitioningCx<'a, 'tcx> {
struct PartitioningCx<'a, 'tcx> {
tcx: TyCtxt<'tcx>,
target_cgu_count: usize,
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>,
mono_items: &mut I,
max_cgu_count: usize,