File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 88- Option to remove "style" tags. [ #11 ] ( https://github.com/Stranger6667/css-inline/issues/11 )
99- ` CSSInliner::compact() ` constructor for producing smaller HTML output.
1010- ` CSSInliner.inline_to ` that writes the output to a generic writer. [ #24 ] ( https://github.com/Stranger6667/css-inline/issues/24 )
11+ - Implement ` Error ` for ` InlineError ` .
1112
1213### Changed
1314
Original file line number Diff line number Diff line change 11//! Errors that may happen during inlining.
22use cssparser:: { BasicParseErrorKind , ParseError , ParseErrorKind } ;
3+ use std:: error:: Error ;
34use std:: fmt:: { Display , Formatter } ;
45use std:: { fmt, io} ;
56
@@ -18,6 +19,8 @@ impl From<io::Error> for InlineError {
1819 }
1920}
2021
22+ impl Error for InlineError { }
23+
2124impl Display for InlineError {
2225 fn fmt ( & self , f : & mut Formatter ) -> fmt:: Result {
2326 match self {
You can’t perform that action at this time.
0 commit comments