about summary refs log tree commit diff
path: root/src/test/run-make/unicode-input
diff options
context:
space:
mode:
authorRicho Healey <richo@psych0tik.net>2015-03-07 18:08:48 -0800
committerRicho Healey <richo@psych0tik.net>2015-03-09 07:54:19 -0700
commit061d84399e66dc3d47c567370b71e047202ba60f (patch)
tree4f6c6b638144dab0c537cbe9f7856595c9f79fea /src/test/run-make/unicode-input
parent14ce607d9b96ab3c8d5564bcddd553d6f8e175c7 (diff)
downloadrust-061d84399e66dc3d47c567370b71e047202ba60f.tar.gz
rust-061d84399e66dc3d47c567370b71e047202ba60f.zip
remove uses of as_slice where deref coercions can be used
Diffstat (limited to 'src/test/run-make/unicode-input')
-rw-r--r--src/test/run-make/unicode-input/span_length.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-make/unicode-input/span_length.rs b/src/test/run-make/unicode-input/span_length.rs
index ef6c799336b..a6cb9fe0324 100644
--- a/src/test/run-make/unicode-input/span_length.rs
+++ b/src/test/run-make/unicode-input/span_length.rs
@@ -80,7 +80,7 @@ fn main() {
                          .arg(format!("{} {}",
                                       rustc,
                                       main_file.as_str()
-                                               .unwrap()).as_slice())
+                                               .unwrap()))
                          .output().unwrap();
 
     let err = String::from_utf8_lossy(result.error.as_slice());