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.