Go to file
2024-05-16 20:47:33 +02:00
src strfry a string 2024-05-16 20:47:33 +02:00
.gitignore strfry a string 2024-05-16 20:47:33 +02:00
Cargo.lock strfry a string 2024-05-16 20:47:33 +02:00
Cargo.toml strfry a string 2024-05-16 20:47:33 +02:00
LICENSE strfry a string 2024-05-16 20:47:33 +02:00
README.md strfry a string 2024-05-16 20:47:33 +02:00

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");