Function keyboard_types::first_char

source ·
pub(crate) fn first_char(s: &str) -> char
Expand description

Return the first codepoint of a string.

Panics

Panics if the string is empty.