-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove trait bounds from `Interner` it's recommended to leave them out of struct definitions and instead have them in impl blocks https://stackoverflow.com/questions/49229332/should-trait-bounds-be-duplicated-in-struct-and-impl * move methods not requiring the bounds to another impl block * do the same for `InternedInput` arguably less impactful, but nice-to-have nevertheless * remove trait bounds from `InternedInput` this was made ppossible by removing them from `Interner` * remove trait bounds from `diff` this was made possible by all the previous commits -- `InternedInput` now doesn't require the traits by itself, nor does `Interner::num_tokens` * remove trait bounds from `UnifiedDiffBuilder` previously required by `Interner`
- Loading branch information
Showing
3 changed files
with
24 additions
and
27 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
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