forked from trishume/syntect
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
html: switch ClassStyle to hold a &str instead of String.
This proves to be nicer to use, not least because now a `const` `ClassStyle` can be declared. It's also now `Copy` again. It's still technically an enforced breaking change because of the added lifetime parameter, though I doubt whether any actually extant code would be broken. On that basis I've kept the unforced breaks as well, since I do think they add value (primarily, misuse resistance).
- Loading branch information
1 parent
5a48a18
commit 1e00460
Showing
2 changed files
with
16 additions
and
16 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