about summary refs log tree commit diff
path: root/src/comp/driver/rustc.rs
diff options
context:
space:
mode:
authorKevin Cantu <me@kevincantu.org>2012-02-23 01:44:04 -0800
committerMarijn Haverbeke <marijnh@gmail.com>2012-02-23 17:00:19 +0100
commit7782f5d6926be7970ec474b74302f2298ceccd13 (patch)
treec05d8ace8e1398de239c130643d18c1bc5e77d81 /src/comp/driver/rustc.rs
parent1b957c0942007e60ec9ea6773c964ea7bdc199af (diff)
downloadrust-7782f5d6926be7970ec474b74302f2298ceccd13.tar.gz
rust-7782f5d6926be7970ec474b74302f2298ceccd13.zip
(core::str) remove len_bytes alias
Diffstat (limited to 'src/comp/driver/rustc.rs')
-rw-r--r--src/comp/driver/rustc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs
index 5186290e4a4..8d0b8549062 100644
--- a/src/comp/driver/rustc.rs
+++ b/src/comp/driver/rustc.rs
@@ -13,7 +13,7 @@ import rustc::driver::diagnostic;
 fn version(argv0: str) {
     let vers = "unknown version";
     let env_vers = #env["CFG_VERSION"];
-    if str::len_bytes(env_vers) != 0u { vers = env_vers; }
+    if str::len(env_vers) != 0u { vers = env_vers; }
     io::stdout().write_str(#fmt["%s %s\n", argv0, vers]);
     io::stdout().write_str(#fmt["host: %s\n", host_triple()]);
 }