-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrote to address issues with lifetime polymorphism.
The problem is rust-lang/rust#30867, which means that any type that wants to be polymorphic over `I: Iterator`, and lifetime-polymorpic over `I::Item` needs to take `I::Item` as a type parameter. Concretely, this means that `Stateful<Str>` where `Str: Iterator` needs to be replaced by `Stateful<Ch, Str>` where `Str: Iterator<Item = Ch>`, and ditto the other types. While I was doing a root-and-branch rewrite, I fixed issues #4 and #5.
- Loading branch information
Alan Jeffrey
committed
Feb 19, 2016
1 parent
e349f0c
commit 0fb23c2
Showing
4 changed files
with
1,557 additions
and
1,479 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.