kbinxml(options): make OptionsBuilder useful by having build take reference

This commit is contained in:
Felix
2022-11-04 04:13:52 +00:00
parent d09293b756
commit 31899e4697

View File

@@ -44,7 +44,7 @@ impl OptionsBuilder {
self
}
pub fn build(self) -> Options {
pub fn build(&self) -> Options {
Options {
compression: self.compression,
encoding: self.encoding,