From 3273e77d244aec2e462b7515033e8eb4ce8d6acb Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 27 Dec 2015 17:44:43 +0100 Subject: [PATCH] Fixup Into for Path --- src/storage/path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/path.rs b/src/storage/path.rs index cab4c716..349eda57 100644 --- a/src/storage/path.rs +++ b/src/storage/path.rs @@ -84,7 +84,7 @@ impl<'a> Path<'a> { impl<'a> Into<&'a str> for Path<'a> { fn into(self) -> &'a str { - let s = self.base.clone(); + let mut s = self.base.clone(); s.push(self.store.clone()); s.push(self.module.name()); if self.id.is_some() {