keyboard_types

Function 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.