pub fn replace_confusables(input_str: &str) -> String
Expand description

Replaces any characters in the input string that are confusable with a different character.

Arguments

  • input_str - A reference to the input string to replace confusable characters.

Returns

A new string where any confusable characters have been replaced with their corresponding non-confusable characters.