diff options
| author | Piotr Jawniak <sawyer47@gmail.com> | 2014-06-26 08:15:14 +0200 |
|---|---|---|
| committer | Piotr Jawniak <sawyer47@gmail.com> | 2014-06-26 08:56:49 +0200 |
| commit | f8e06c49650afd7c9ef749baa72cb8da59880f96 (patch) | |
| tree | 5d9325ebd7357f26b59ee719b7b8be2d39e43c1d /src/libstd/path | |
| parent | 99519cc8e645dd50522c2f32cf55ef8c15583012 (diff) | |
| download | rust-f8e06c49650afd7c9ef749baa72cb8da59880f96.tar.gz rust-f8e06c49650afd7c9ef749baa72cb8da59880f96.zip | |
Remove unnecessary to_string calls
This commit removes superfluous to_string calls from various places
Diffstat (limited to 'src/libstd/path')
| -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("\\"))) } } |
