pub trait CharAt {
fn char_at(&self, index: usize) -> Option<char>;
}
impl CharAt for String {
fn char_at(&self, index: usize) -> Option<char> {
self.chars().nth(index)
}
}
impl CharAt for str {
fn char_at(&self, index: usize) -> Option<char> {
self.chars().nth(index)
}
}