MCPcopy Create free account
hub / github.com/Lokathor/tinyvec / last

Method last

src/arrayvec.rs:1533–1535  ·  view source on GitHub ↗
(mut self)

Source from the content-addressed store, hash-verified

1531 }
1532 #[inline]
1533 fn last(mut self) -> Option<Self::Item> {
1534 self.next_back()
1535 }
1536 #[inline]
1537 fn nth(&mut self, n: usize) -> Option<A::Item> {
1538 let slice = &mut self.data.as_slice_mut();

Callers

nothing calls this directly

Calls 1

next_backMethod · 0.45

Tested by

no test coverage detected