/// If the list's first items are both 1s
If the list's first items are both 1s
If the list ' s first items are both 1s
fn is_all_ones_list(list: &List, context: &Context) -> bool {
    list.children.len() > 1
        && list.start_index.unwrap_or(0) == 1
        && {
            let text = list.children.get(1).unwrap().text(context).trim();
            text.starts_with("1.") || text.starts_with("1)")
        }
}
fn is_all_ones_list ( list : & List , context : & Context ) -> bool { list . children . len ( ) > 1 && list . start_index . unwrap_or ( 0 ) == 1 && { let text = list . children . get ( 1 ) . unwrap ( ) . text ( context ) . trim ( ) ; text . starts_with ( " " ) || text . starts_with ( " " ) } }
If the list's first items are both 1s
If the list ' s first items are both 1s
list
&List
context
&Context