mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-26 20:16:31 +00:00
Remove superfluous with_writer function
This commit is contained in:
1 parent
4569c8f871
commit
4823523b7d
1 file changed
-5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user