src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
LICENSE | ||
README.md |
Randomize a string
Randomizes the contents of string by randomly swapping characters in the string. The result is an anagram of string.
use strfry::strfry;
let anagram = strfry("i am a weakish speller");