Docs.rs
sosorted-0.1.0
sosorted 0.1.0
Permalink
Docs.rs crate page
MIT
Links
crates.io
Source
Owners
lclarkmichalek
Dependencies
anyhow ^1.0.68
dev
criterion ^0.3
dev
rand ^0.8.5
dev
Versions
0%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
Crate sosorted
Version 0.1.0
All Items
Functions
?
Crate
sosorted
source
·
[
−
]
Functions
deduplicate
Removes repeated elements in the slice. Returns the length of the prefix that does not contain repeated elements.
find_first_duplicate
Returns the index of the first duplicate entry. If there are no duplicates, the length of ther slice is returned.