mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-30 09:05:54 +00:00
Rename with_panels to num_panels
This commit is contained in:
1 parent
9ccf18f4c0
commit
9602667991
3 files changed
+4
-4
No files matched your search
+2
-2
@@ -187,8 +187,8 @@ impl<'a, Writer: Write> PrinterBuilder<'a, Writer> {
|
||||
self
|
||||
}
|
||||
|
||||
pub fn with_panels(mut self, panels: u16) -> Self {
|
||||
self.panels = panels;
|
||||
pub fn num_panels(mut self, num: u16) -> Self {
|
||||
self.panels = num;
|
||||
self
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user