summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRyan Leckey <leckey.ryan@gmail.com>2018-07-02 15:41:14 -0700
committerRyan Leckey <leckey.ryan@gmail.com>2018-07-02 15:41:14 -0700
commite9354383d9dcd5d7fc9fd8539b3ef37b3e6a8645 (patch)
tree1d1883b422824d9e12076755117bc7c8c9eb918b /src
parentcbb9ef88ea6f6452614dd8bbffce7203b1358a55 (diff)
Update readme/changelog for 0.9
Diffstat (limited to 'src')
-rw-r--r--src/env.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/env.rs b/src/env.rs
index 5beead5..51e91a9 100644
--- a/src/env.rs
+++ b/src/env.rs
@@ -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
}