(
writer: &mut Wr,
name: &str,
value: &str,
minify_css: bool,
)
| 643 | |
| 644 | #[inline] |
| 645 | fn write_declaration<Wr: Write>( |
| 646 | writer: &mut Wr, |
| 647 | name: &str, |
| 648 | value: &str, |
| 649 | minify_css: bool, |
| 650 | ) -> Result<(), InlineError> { |
| 651 | writer.write_all(name.as_bytes())?; |
| 652 | if minify_css { |
| 653 | writer.write_all(STYLE_SEPARATOR_MIN)?; |
| 654 | } else { |
| 655 | writer.write_all(STYLE_SEPARATOR)?; |
| 656 | } |
| 657 | write_declaration_value(writer, value) |
| 658 | } |
| 659 | |
| 660 | #[inline] |
| 661 | #[allow(clippy::arithmetic_side_effects)] |
no test coverage detected