diff options
author | Ryan Leckey <leckey.ryan@gmail.com> | 2018-07-02 15:41:14 -0700 |
---|---|---|
committer | Ryan Leckey <leckey.ryan@gmail.com> | 2018-07-02 15:41:14 -0700 |
commit | e9354383d9dcd5d7fc9fd8539b3ef37b3e6a8645 (patch) | |
tree | 1d1883b422824d9e12076755117bc7c8c9eb918b /src | |
parent | cbb9ef88ea6f6452614dd8bbffce7203b1358a55 (diff) |
Update readme/changelog for 0.9
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 } |