docs.rs failed to build rust-freqdist-0.0.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: rust-freqdist-0.1.5

Build Status

FreqDist

Provides a Frequency Distribution data structure, which can keep track of the number of times an object appears in some context.

Example

use freqdist::{Distribution, FrequencyDistribution};

let mut fdist = FrequencyDistribution::new();

fdist.insert("hello");
fdist.insert("hello");
fdist.insert("goodbyte");

assert_eq!(*fdist.get("hello").unwrap(), 2);

TODO

  • Implement more traits (Index, etc...)