diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/env.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -33,12 +33,12 @@ impl Environment { } } - pub fn prefix(&mut self, s: &str) -> &mut Self { + pub fn prefix(mut self, s: &str) -> Self { self.prefix = Some(s.into()); self } - pub fn separator(&mut self, s: &str) -> &mut Self { + pub fn separator(mut self, s: &str) -> Self { self.separator = Some(s.into()); self } |