over 0.6.5

OVER: the best data format.
Documentation
1
2
3
4
5
6
pub fn format_char(ch: char) -> String {
    match ch {
        '\n' => String::from("\\n"),
        ch => format!("{}", ch),
    }
}