diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-09-01 17:27:58 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-09-01 17:27:58 -0700 |
| commit | ab6bb035e50f735cb36cc1959e5a097f076a3b74 (patch) | |
| tree | 21cb2954ef9cfe15134fec56f8888ddefce771bf /src/comp/lib | |
| parent | 913667ba2550cbc6b8673580ef90d025d4abd205 (diff) | |
| download | rust-ab6bb035e50f735cb36cc1959e5a097f076a3b74.tar.gz rust-ab6bb035e50f735cb36cc1959e5a097f076a3b74.zip | |
Rename std::istr to std::str. Issue #855
Diffstat (limited to 'src/comp/lib')
| -rw-r--r-- | src/comp/lib/llvm.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/comp/lib/llvm.rs b/src/comp/lib/llvm.rs index 2b185c1abbb..d59f6893815 100644 --- a/src/comp/lib/llvm.rs +++ b/src/comp/lib/llvm.rs @@ -1,6 +1,6 @@ import std::vec; -import std::istr; -import std::istr::sbuf; +import std::str; +import std::str::sbuf; import llvm::ModuleRef; import llvm::ContextRef; @@ -1070,7 +1070,7 @@ resource target_data_res(TD: TargetDataRef) { type target_data = {lltd: TargetDataRef, dtor: @target_data_res}; fn mk_target_data(string_rep: &istr) -> target_data { - let lltd = istr::as_buf(string_rep, { |buf| + let lltd = str::as_buf(string_rep, { |buf| llvm::LLVMCreateTargetData(buf) }); ret {lltd: lltd, dtor: @target_data_res(lltd)}; |
