Skip to content

Commit 8fdfbf5

Browse files
committed
Make some functions private that are only ever used in the same module
1 parent e3a9b1d commit 8fdfbf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/consts.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ pub fn const_alloc_to_gcc<'gcc, 'tcx>(
349349
cx.const_struct(&llvals, true)
350350
}
351351

352-
pub fn codegen_static_initializer<'gcc, 'tcx>(
352+
fn codegen_static_initializer<'gcc, 'tcx>(
353353
cx: &CodegenCx<'gcc, 'tcx>,
354354
def_id: DefId,
355355
) -> Result<(RValue<'gcc>, ConstAllocation<'tcx>), ErrorHandled> {

0 commit comments

Comments
 (0)