mirror of
https://github.com/mbilker/kbinxml-rs.git
synced 2026-09-07 18:15:22 -05:00
kbinxml(options): make OptionsBuilder useful by having build take reference
This commit is contained in:
@@ -44,7 +44,7 @@ impl OptionsBuilder {
|
||||
self
|
||||
}
|
||||
|
||||
pub fn build(self) -> Options {
|
||||
pub fn build(&self) -> Options {
|
||||
Options {
|
||||
compression: self.compression,
|
||||
encoding: self.encoding,
|
||||
|
||||
Reference in New Issue
Block a user