Skip to content

Commit 86754cd

Browse files
committed
Remove some unnecessary pub markers.
1 parent 59c5259 commit 86754cd

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_monomorphize/src/partitioning

1 file changed

+2
-2
lines changed

compiler/rustc_monomorphize/src/partitioning/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ impl<'tcx> Partition<'tcx> for Partitioner {
182182
}
183183
}
184184

185-
pub struct PartitioningCx<'a, 'tcx> {
185+
struct PartitioningCx<'a, 'tcx> {
186186
tcx: TyCtxt<'tcx>,
187187
target_cgu_count: usize,
188188
inlining_map: &'a InliningMap<'tcx>,
@@ -231,7 +231,7 @@ fn get_partitioner(tcx: TyCtxt<'_>) -> Partitioner {
231231
}
232232
}
233233

234-
pub fn partition<'tcx, I>(
234+
fn partition<'tcx, I>(
235235
tcx: TyCtxt<'tcx>,
236236
mono_items: &mut I,
237237
max_cgu_count: usize,

0 commit comments

Comments
 (0)