make pub(crate)

This commit is contained in:
Folkert 2022-07-22 16:23:33 +02:00
parent e6104ee52f
commit 90e3021904
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -186,7 +186,7 @@ pub fn float_type_from_float_width<'a, 'ctx, 'env>(
}
}
pub fn block_of_memory_slices<'ctx>(
pub(crate) fn block_of_memory_slices<'ctx>(
context: &'ctx Context,
layouts: &[&[Layout<'_>]],
target_info: TargetInfo,
@ -204,7 +204,7 @@ pub fn block_of_memory_slices<'ctx>(
block_of_memory_help(context, union_size)
}
pub fn block_of_memory<'ctx>(
pub(crate) fn block_of_memory<'ctx>(
context: &'ctx Context,
layout: &Layout<'_>,
target_info: TargetInfo,