Rust 里面的 char 类型,有个函数叫 is_alphabetic 的方法,这里的文档有个小彩蛋:
/// let c = '💝';
/// // love is many things, but it is not alphabetic
/// assert!(!c.is_alphabetic());
写这个的程序员有点儿暖
Rust 里面的 char 类型,有个函数叫 is_alphabetic 的方法,这里的文档有个小彩蛋:
/// let c = '💝';
/// // love is many things, but it is not alphabetic
/// assert!(!c.is_alphabetic());
写这个的程序员有点儿暖