Rename with_squeeze to enable_squeezing

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

No files matched your search

+2 -2
View File
@@ -182,8 +182,8 @@ impl<'a, Writer: Write> PrinterBuilder<'a, Writer> {
self
}
pub fn with_squeeze(mut self, use_squeeze: bool) -> Self {
self.use_squeeze = use_squeeze;
pub fn enable_squeezing(mut self, enable: bool) -> Self {
self.use_squeeze = enable;
self
}