about summary refs log tree commit diff
path: root/src/compiletest
diff options
context:
space:
mode:
authorHuon Wilson <dbau.pp+github@gmail.com>2013-06-11 12:01:45 +1000
committerHuon Wilson <dbau.pp+github@gmail.com>2013-06-12 12:21:03 +1000
commit3c23a0a836164ed3ac1b94b526ff8f4e71571e8e (patch)
treea067e160673e4cc9e9eff19b7b29331328a86632 /src/compiletest
parent96cd61ad034cc9e88ab6a7845c3480dbc1ea62f3 (diff)
downloadrust-3c23a0a836164ed3ac1b94b526ff8f4e71571e8e.tar.gz
rust-3c23a0a836164ed3ac1b94b526ff8f4e71571e8e.zip
std: replace str::append with a method
Diffstat (limited to 'src/compiletest')
-rw-r--r--src/compiletest/runtest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiletest/runtest.rs b/src/compiletest/runtest.rs
index 7159e51e3b6..6b4f1420c56 100644
--- a/src/compiletest/runtest.rs
+++ b/src/compiletest/runtest.rs
@@ -254,7 +254,7 @@ fn run_debuginfo_test(config: &config, props: &TestProps, testfile: &Path) {
     }
 
     // write debugger script
-    let script_str = str::append(cmds, "\nquit\n");
+    let script_str = cmds.append("\nquit\n");
     debug!("script_str = %s", script_str);
     dump_output_file(config, testfile, script_str, "debugger.script");