Bootstrapping preparation for the library

Since just `ops::Try` will need to change meaning.
This commit is contained in:
Scott McMurray
2021-04-14 16:40:23 -07:00
parent d44f647ffc
commit c10eec3a1c
33 changed files with 123 additions and 104 deletions

View File

@@ -110,7 +110,7 @@ impl<'a> iter::Iterator for EscapeAscii<'a> {
fn try_fold<Acc, Fold, R>(&mut self, init: Acc, fold: Fold) -> R
where
Fold: FnMut(Acc, Self::Item) -> R,
R: ops::Try<Ok = Acc>,
R: ops::TryWhereOutputEquals<Acc>,
{
self.inner.try_fold(init, fold)
}