aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/lib-str-buf.rs
diff options
context:
space:
mode:
authorMarijn Haverbeke <[email protected]>2011-05-12 17:24:54 +0200
committerMarijn Haverbeke <[email protected]>2011-05-12 21:30:44 +0200
commit3816e57fd2a8ab19e4ac6d4b3ddd5b49d5973ff2 (patch)
tree508982ed2f789aedd89eebd529343d9dc88b8e01 /src/test/run-pass/lib-str-buf.rs
parentTransitional change to make extfmt output lowercase module name (diff)
downloadrust-3816e57fd2a8ab19e4ac6d4b3ddd5b49d5973ff2.tar.xz
rust-3816e57fd2a8ab19e4ac6d4b3ddd5b49d5973ff2.zip
Downcase std modules again, move to :: for module dereferencing
This should be a snapshot transition.
Diffstat (limited to 'src/test/run-pass/lib-str-buf.rs')
-rw-r--r--src/test/run-pass/lib-str-buf.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/run-pass/lib-str-buf.rs b/src/test/run-pass/lib-str-buf.rs
index cd8ba9e9..af1148a5 100644
--- a/src/test/run-pass/lib-str-buf.rs
+++ b/src/test/run-pass/lib-str-buf.rs
@@ -4,14 +4,14 @@
// -*- rust -*-
use std;
-import std.Str;
+import std::_str;
fn main() {
auto s = "hello";
- auto sb = Str.rustrt.str_buf(s);
- auto s_cstr = Str.rustrt.str_from_cstr(sb);
- assert (Str.eq(s_cstr, s));
- auto s_buf = Str.rustrt.str_from_buf(sb, 5u);
- assert (Str.eq(s_buf, s));
+ auto sb = str.rustrt.str_buf(s);
+ auto s_cstr = str.rustrt.str_from_cstr(sb);
+ assert (str.eq(s_cstr, s));
+ auto s_buf = str.rustrt.str_from_buf(sb, 5u);
+ assert (str.eq(s_buf, s));
}