Remove superfluous with_writer function

This commit is contained in:
Sharif Haason authored and David Peter committed 2022-10-04 18:09:47 +02:00
1 parent 4569c8f871
commit 4823523b7d
1 file changed
-5
-5
View File
@@ -162,11 +162,6 @@ impl<'a, Writer: Write> PrinterBuilder<'a, Writer> {
}
}
pub fn with_writer(mut self, writer: &'a mut Writer) -> PrinterBuilder<'a, Writer> {
self.writer = writer;
self
}
pub fn show_color(mut self, show_color: bool) -> Self {
self.show_color = show_color;
self