MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / dangling

Method dangling

crates/data-structures/src/slim_slice.rs:174–177  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

172 /// Returns a dangling slim raw slice.
173 #[inline]
174 fn dangling() -> Self {
175 let ptr = NonNull::dangling();
176 Self { len: 0, ptr }
177 }
178
179 /// Casts this raw slice `SlimRawSlice<T>` to `SlimRawSlice<U>`.
180 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected