about summary refs log tree commit diff
path: root/src/compiletest/header.rs
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-09-26 16:27:12 -0700
committerBrian Anderson <banderson@mozilla.com>2012-09-26 20:15:23 -0700
commite8fe718bfd4d88b0bc59117326a14a10f2598568 (patch)
tree5fdc1f4bfbd51f490ee30a846491f4c0e6dfac4b /src/compiletest/header.rs
parent64de6d638da71f7b3a55d663b194b95f7f06d6c8 (diff)
downloadrust-e8fe718bfd4d88b0bc59117326a14a10f2598568.tar.gz
rust-e8fe718bfd4d88b0bc59117326a14a10f2598568.zip
core: Replace map/map_default with map_ref/map_default_ref
Diffstat (limited to 'src/compiletest/header.rs')
-rw-r--r--src/compiletest/header.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiletest/header.rs b/src/compiletest/header.rs
index 19a3c621d27..d72a9d65e05 100644
--- a/src/compiletest/header.rs
+++ b/src/compiletest/header.rs
@@ -103,7 +103,7 @@ fn parse_compile_flags(line: ~str) -> Option<~str> {
 fn parse_exec_env(line: ~str) -> Option<(~str, ~str)> {
     do parse_name_value_directive(line, ~"exec-env").map |nv| {
         // nv is either FOO or FOO=BAR
-        let strs = str::splitn_char(nv, '=', 1u);
+        let strs = str::splitn_char(*nv, '=', 1u);
         match strs.len() {
           1u => (strs[0], ~""),
           2u => (strs[0], strs[1]),