[][src]Function loser_case::to_loser

pub fn to_loser(x: &str) -> String

Returns a string with random case

Arguments

  • x - A string to be modified

Examples

// You can have rust code between fences inside the comments
// If you pass --test to `rustdoc`, it will even test it for you!
use loser_case;
loser_case::to_loser("test");