-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
repo: move new commit ids into
RewriteType
enum
`RewriteType::Rewritten` must have exactly one replacement. I think it's better to encode that in the type by attaching the value to the enum variant. I also renamed the type to just `Rewrite` since it now has attached data and `Type` sounds like a traditional data-free enum to me.
- Loading branch information
1 parent
748485d
commit d66d685
Showing
1 changed file
with
37 additions
and
17 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