From 4823523b7d54a0a8d7b8a15542896e5e1e682ca5 Mon Sep 17 00:00:00 2001 From: Sharif Haason Date: Mon, 3 Oct 2022 23:05:53 -0400 Subject: [PATCH] Remove superfluous `with_writer` function --- src/lib.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 5128c04..365ecdc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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