From 31899e46973b8a230ef91c4b2fe71d63b8f3a188 Mon Sep 17 00:00:00 2001 From: Felix Date: Fri, 4 Nov 2022 04:13:52 +0000 Subject: [PATCH] kbinxml(options): make OptionsBuilder useful by having build take reference --- kbinxml/src/options.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kbinxml/src/options.rs b/kbinxml/src/options.rs index a2b570e..c83f908 100644 --- a/kbinxml/src/options.rs +++ b/kbinxml/src/options.rs @@ -44,7 +44,7 @@ impl OptionsBuilder { self } - pub fn build(self) -> Options { + pub fn build(&self) -> Options { Options { compression: self.compression, encoding: self.encoding,