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

Method dedup

src/arrayvec.rs:1226–1231  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

1224 /// De-duplicates the vec contents.
1225 #[inline(always)]
1226 pub fn dedup(&mut self)
1227 where
1228 A::Item: PartialEq,
1229 {
1230 self.dedup_by(|a, b| a == b)
1231 }
1232
1233 /// De-duplicates the vec according to the predicate given.
1234 #[inline(always)]

Callers

nothing calls this directly

Calls 1

dedup_byMethod · 0.45

Tested by

no test coverage detected