Skip to main content

luaur_common/methods/
small_vector_end_small_vector.rs

1use crate::records::small_vector::SmallVector;
2
3impl<T, const N: usize> SmallVector<T, N> {
4    pub fn end_mut(&mut self) -> *mut T {
5        let slice = self.as_mut_slice();
6        unsafe { slice.as_mut_ptr().add(slice.len()) }
7    }
8}