{"ast_node_type":"function","tokens":[{"end":81,"kind":"keyword","start":0,"text":"fn"}]}
fn is_iterator_singleton<T>(mut iterator: impl Iterator<Item = T>) -> Option<T> {
/// Returns `Some(iterator.next())` if it has exactly one item, and `None` otherwise.
    match (iterator.next(), iterator.next()) {