Rename with_panels to num_panels

This commit is contained in:
Sharif Haason authored and David Peter committed 2022-10-04 18:09:47 +02:00
1 parent 9ccf18f4c0
commit 9602667991
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -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
}