Improvements
This commit is contained in:
parent
061359540b
commit
15a56ed34a
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue