Perf Experiment: Wait, what if I just skip the trait alias

This commit is contained in:
Scott McMurray
2021-05-05 22:47:02 -07:00
parent 3d9660111c
commit b7a6c4a905
34 changed files with 110 additions and 131 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::TryWhereOutputEquals<Acc>,
R: ops::Try<Output = Acc>,
{
self.inner.try_fold(init, fold)
}