(
&self,
req: &Request<'_, S>,
mut word_checker: F,
)
| 1129 | } |
| 1130 | |
| 1131 | fn at_boundary<S: StrDrive, F: FnMut(u32) -> bool>( |
| 1132 | &self, |
| 1133 | req: &Request<'_, S>, |
| 1134 | mut word_checker: F, |
| 1135 | ) -> bool { |
| 1136 | if self.at_beginning() && self.at_end(req) { |
| 1137 | return false; |
| 1138 | } |
| 1139 | let that = !self.at_beginning() && word_checker(self.back_peek_char::<S>()); |
| 1140 | let this = !self.at_end(req) && word_checker(self.peek_char::<S>()); |
| 1141 | this != that |
| 1142 | } |
| 1143 | |
| 1144 | fn at_non_boundary<S: StrDrive, F: FnMut(u32) -> bool>( |
| 1145 | &self, |
no test coverage detected