Method
write_processing_instruction
(
&mut self,
target: &str,
data: &str,
)
Source from the content-addressed store, hash-verified
| 625 | } |
| 626 | |
| 627 | fn write_processing_instruction( |
| 628 | &mut self, |
| 629 | target: &str, |
| 630 | data: &str, |
| 631 | ) -> Result<(), InlineError> { |
| 632 | self.writer.write_all(b"<?")?; |
| 633 | self.writer.write_all(target.as_bytes())?; |
| 634 | self.writer.write_all(b" ")?; |
| 635 | self.writer.write_all(data.as_bytes())?; |
| 636 | self.writer.write_all(b">")?; |
| 637 | Ok(()) |
| 638 | } |
| 639 | } |
| 640 | |
| 641 | const STYLE_SEPARATOR: &[u8] = b": "; |
Tested by
no test coverage detected