diff options
Diffstat (limited to 'std/path.zc')
| -rw-r--r-- | std/path.zc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/path.zc b/std/path.zc index 6a9531d..7055880 100644 --- a/std/path.zc +++ b/std/path.zc @@ -33,12 +33,12 @@ impl Path { var last = self.str.vec.get(base_len - 1); if (last != '/' && last != '\\') { var sep = String::new("/"); - new_s.append(sep); + new_s.append(&sep); } } var other_str = String::new(other); - new_s.append(other_str); + new_s.append(&other_str); return Path { str: new_s }; } |
