Registry / utility / odds
library0.4.0rscratesunverified

Collection miscellania providing extra functionality for slices, strings, and other types.

# Cargo.toml [dependencies] odds = "0.4.0"
INSTALL
IMPORT
SIG · ODDS
O
odds
utilityrustv0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

find
use odds::slice::find;

Use odds to find an element in a slice.

use odds::slice::find; fn main() { let v = vec![1, 2, 3]; if let Some(pos) = find(&v, &2) { println!("Found at {}", pos); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
odds — cargo add odds · libregistry