Lines Matching refs:next
17 //! be within a single word, except that the last will be part of the next word
115 while let Some((i, c)) = char_indices.next() {
124 if let Some(&(next_i, next)) = char_indices.peek() {
135 // Word boundary after if next is underscore or current is
136 // not uppercase and next is uppercase
137 if next == '_' || (next_mode == WordMode::Lowercase && next.is_uppercase()) {
146 // Otherwise if current and previous are uppercase and next
148 } else if mode == WordMode::Uppercase && c.is_uppercase() && next.is_lowercase() {
180 while let Some(c) = chars.next() {
201 if let Some((_, c)) = char_indices.next() {
203 if let Some((i, _)) = char_indices.next() {