From 15a56ed34ae376f95241e1f0a093bfa4eb2d4ae3 Mon Sep 17 00:00:00 2001 From: xavo95 Date: Sun, 12 Jan 2025 19:34:38 +0100 Subject: [PATCH] Improvements --- src/t_array.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/t_array.rs b/src/t_array.rs index 1cc928b..1b73442 100644 --- a/src/t_array.rs +++ b/src/t_array.rs @@ -50,8 +50,7 @@ impl TArray { } } - #[inline(always)] - pub(crate) fn resize_grow(&mut self, count: Option) -> u32 { + pub fn resize_grow(&mut self, count: Option) -> u32 { let count = count.unwrap_or(1); let old_len = self.len; self.len = old_len + count;