From fa4c2976cfc087978eff91130c9973fdae5dd5bb Mon Sep 17 00:00:00 2001 From: SirHall <28499210+SirHall@users.noreply.github.com> Date: Sat, 4 May 2024 16:06:58 +1000 Subject: [PATCH] Make 'apply_permutation' function public --- soa-derive-internal/src/slice.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/soa-derive-internal/src/slice.rs b/soa-derive-internal/src/slice.rs index 832f163..7801d5f 100644 --- a/soa-derive-internal/src/slice.rs +++ b/soa-derive-internal/src/slice.rs @@ -601,7 +601,7 @@ pub fn derive_mut(input: &Input) -> TokenStream { } #[doc(hidden)] - fn apply_permutation(&mut self, permutation: &mut soa_derive::Permutation) { + pub fn apply_permutation(&mut self, permutation: &mut soa_derive::Permutation) { #( #apply_permutation; )* }