Documentation
  • Coverage
  • 33.33%
    1 out of 3 items documented0 out of 1 items with examples
  • Size
  • Source code size: 19.94 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.1 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • aqiank

Undup

A simple library that consists of utility functions for removing duplicate characters in a string.

Example

You can look at examples/simple.rs and run it using cargo run --example simple.

or

` extern crate undup;

use undup::undup_chars;

fn main() { let input = "The Quick Brown Fox Jumps Over The Lazy Dog........."; let output = undup_chars(&input, vec![' ', '.']); println!("{}", output); } `

License

GPL-2.0