Function mortal::util::unctrl_upper [] [src]

pub fn unctrl_upper(ch: char) -> char

Returns the ASCII character corresponding to the given control character.

If ch is not a control character, the result is unspecified.

Examples

// Ctrl-C
assert_eq!(unctrl_upper('\x03'), 'C');