Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lokathor/tinyvec
/ grab_spare_slice
Method
grab_spare_slice
src/arrayvec.rs:1201–1203 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
1199
/// ```
1200
#[inline(always)]
1201
pub fn grab_spare_slice(&self) -> &[A::Item] {
1202
&self.data.as_slice()[self.len as usize..]
1203
}
1204
1205
/// Obtain the mutable slice of the array _after_ the active memory.
1206
///
Callers
nothing calls this directly
Calls
1
as_slice
Method · 0.45
Tested by
no test coverage detected