diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2014-05-01 01:32:13 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2014-05-01 17:42:57 -0400 |
| commit | 7852625b8671211125564cba69d982dd4ee5db24 (patch) | |
| tree | a73c2b79a3f2c65121fa6ea7c174f300a7c72a11 /src/libstd/path | |
| parent | 4baff4e15f003260de0cc17f419c418332e77149 (diff) | |
| download | rust-7852625b8671211125564cba69d982dd4ee5db24.tar.gz rust-7852625b8671211125564cba69d982dd4ee5db24.zip | |
remove leftover obsolete string literals
Diffstat (limited to 'src/libstd/path')
| -rw-r--r-- | src/libstd/path/posix.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/path/posix.rs b/src/libstd/path/posix.rs index 4affea37e35..f89010d3fc0 100644 --- a/src/libstd/path/posix.rs +++ b/src/libstd/path/posix.rs @@ -560,7 +560,7 @@ mod tests { ($path:expr, $disp:ident, $exp:expr) => ( { let path = Path::new($path); - assert!(path.$disp().to_str() == ~$exp); + assert!(path.$disp().to_str().as_slice() == $exp); } ) ) |
