diff options
| author | bors <bors@rust-lang.org> | 2014-06-26 12:46:25 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-06-26 12:46:25 +0000 |
| commit | fc502e23458c695b008e3470ec5ef40421b8aaa2 (patch) | |
| tree | 00a321fb8070b7e3a2f150fef5adcf7e396b3467 /src/libstd | |
| parent | 389fae2ca85dc83da8deb70cc7c5acc50e87e684 (diff) | |
| parent | f8e06c49650afd7c9ef749baa72cb8da59880f96 (diff) | |
| download | rust-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.rs | 2 |
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("\\"))) } } |
