diff options
| author | Marijn Haverbeke <[email protected]> | 2011-05-12 17:24:54 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <[email protected]> | 2011-05-12 21:30:44 +0200 |
| commit | 3816e57fd2a8ab19e4ac6d4b3ddd5b49d5973ff2 (patch) | |
| tree | 508982ed2f789aedd89eebd529343d9dc88b8e01 /src/test/run-pass/lib-vec-str-conversions.rs | |
| parent | Transitional change to make extfmt output lowercase module name (diff) | |
| download | rust-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-vec-str-conversions.rs')
| -rw-r--r-- | src/test/run-pass/lib-vec-str-conversions.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/run-pass/lib-vec-str-conversions.rs b/src/test/run-pass/lib-vec-str-conversions.rs index cd8b64a8..c85374bf 100644 --- a/src/test/run-pass/lib-vec-str-conversions.rs +++ b/src/test/run-pass/lib-vec-str-conversions.rs @@ -1,8 +1,8 @@ // -*- rust -*- use std; -import std.Str; -import std.Vec; +import std::_str; +import std::_vec; fn test_simple() { let str s1 = "All mimsy were the borogoves"; @@ -14,12 +14,12 @@ fn test_simple() { * working, but we should implement is_utf8 before that happens. */ - let vec[u8] v = Str.bytes(s1); - let str s2 = Str.from_bytes(v); + let vec[u8] v = _str::bytes(s1); + let str s2 = _str::from_bytes(v); let uint i = 0u; - let uint n1 = Str.byte_len(s1); - let uint n2 = Vec.len[u8](v); + let uint n1 = _str::byte_len(s1); + let uint n2 = _vec::len[u8](v); assert (n1 == n2); @@ -33,7 +33,7 @@ fn test_simple() { } log "refcnt is"; - log Str.refcount(s1); + log _str::refcount(s1); } fn main() { |