diff options
| author | Graydon Hoare <[email protected]> | 2010-07-05 14:42:12 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-05 14:42:12 -0700 |
| commit | f360d222c897d36ea751051ca87c0e588fa653b2 (patch) | |
| tree | baf79fe74df23434d17f2f32732153511a4dd13b /src/test/run-pass | |
| parent | Divide vec fill by element size when reporting vec len. (diff) | |
| download | rust-f360d222c897d36ea751051ca87c0e588fa653b2.tar.xz rust-f360d222c897d36ea751051ca87c0e588fa653b2.zip | |
Uint-ify various bits of _str and _vec, enrich _vec a bit.
Diffstat (limited to 'src/test/run-pass')
| -rw-r--r-- | src/test/run-pass/user.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/run-pass/user.rs b/src/test/run-pass/user.rs index 82d3234a..d432fbeb 100644 --- a/src/test/run-pass/user.rs +++ b/src/test/run-pass/user.rs @@ -5,10 +5,10 @@ use std (name = "std", uuid = _, ver = _); fn main() { - auto s = std._str.alloc(10); + auto s = std._str.alloc(uint(10)); s += "hello "; log s; s += "there"; log s; - auto z = std._vec.alloc[int](10); + auto z = std._vec.alloc[int](uint(10)); } |