about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-06-26 12:46:25 +0000
committerbors <bors@rust-lang.org>2014-06-26 12:46:25 +0000
commitfc502e23458c695b008e3470ec5ef40421b8aaa2 (patch)
tree00a321fb8070b7e3a2f150fef5adcf7e396b3467 /src/libstd
parent389fae2ca85dc83da8deb70cc7c5acc50e87e684 (diff)
parentf8e06c49650afd7c9ef749baa72cb8da59880f96 (diff)
downloadrust-fc502e23458c695b008e3470ec5ef40421b8aaa2.tar.gz
rust-fc502e23458c695b008e3470ec5ef40421b8aaa2.zip
auto merge of #15194 : Sawyer47/rust/to-string-cleanup, r=alexcrichton
This commit removes superfluous to_string calls from various places
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/path/windows.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/path/windows.rs b/src/libstd/path/windows.rs
index 4d6f8d0888f..ec225a588fc 100644
--- a/src/libstd/path/windows.rs
+++ b/src/libstd/path/windows.rs
@@ -588,7 +588,7 @@ impl GenericPath for Path {
                     }
                 }
             }
-            Some(Path::new(comps.connect("\\").into_string()))
+            Some(Path::new(comps.connect("\\")))
         }
     }