diff options
| author | Kevin Cantu <me@kevincantu.org> | 2012-02-23 01:44:04 -0800 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2012-02-23 17:00:19 +0100 |
| commit | 7782f5d6926be7970ec474b74302f2298ceccd13 (patch) | |
| tree | c05d8ace8e1398de239c130643d18c1bc5e77d81 /src/comp/driver/rustc.rs | |
| parent | 1b957c0942007e60ec9ea6773c964ea7bdc199af (diff) | |
| download | rust-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.rs | 2 |
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()]); } |
