about summary refs log tree commit diff
path: root/src/comp/driver
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2011-08-31 21:42:05 -0700
committerBrian Anderson <banderson@mozilla.com>2011-09-01 12:14:35 -0700
commitbb56a7534363157af47b370e8d0e16d3da0a6f81 (patch)
tree04dd1adac07e133402b1802630b2f63bf378fb35 /src/comp/driver
parent3fe743bc9c269b5ed4c9b74bf8ed8c5868c12918 (diff)
downloadrust-bb56a7534363157af47b370e8d0e16d3da0a6f81.tar.gz
rust-bb56a7534363157af47b370e8d0e16d3da0a6f81.zip
Convert main functions to istrs. Issue #855
Diffstat (limited to 'src/comp/driver')
-rw-r--r--src/comp/driver/rustc.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs
index 6096695eb2c..701b4f9a6f0 100644
--- a/src/comp/driver/rustc.rs
+++ b/src/comp/driver/rustc.rs
@@ -467,8 +467,7 @@ fn opts() -> [getopts::opt] {
          optflag(~"gc")];
 }
 
-fn main(args: [str]) {
-    let args = istr::from_estrs(args);
+fn main(args: [istr]) {
     let binary = vec::shift(args);
     let binary_dir = fs::dirname(binary);
     let match =