Improvements

This commit is contained in:
xavo95 2025-01-12 19:34:38 +01:00
parent 061359540b
commit 15a56ed34a
Signed by: xavo95
GPG key ID: CBF8ADED6DEBB783

View file

@ -50,8 +50,7 @@ impl TArray {
} }
} }
#[inline(always)] pub fn resize_grow(&mut self, count: Option<u32>) -> u32 {
pub(crate) fn resize_grow(&mut self, count: Option<u32>) -> u32 {
let count = count.unwrap_or(1); let count = count.unwrap_or(1);
let old_len = self.len; let old_len = self.len;
self.len = old_len + count; self.len = old_len + count;