diff options
| author | Michael Sullivan <sully@msully.net> | 2012-07-13 22:57:48 -0700 |
|---|---|---|
| committer | Michael Sullivan <sully@msully.net> | 2012-07-14 01:03:43 -0700 |
| commit | 92743dc2a6a14d042d4b278e4a4dde5ca198c886 (patch) | |
| tree | 2626211c99906387257880f127f96fee66a0bb4e /src/test/bench/std-smallintmap.rs | |
| parent | 5c5065e8bdd1a7b28810fea4b940577ff17c112c (diff) | |
| download | rust-92743dc2a6a14d042d4b278e4a4dde5ca198c886.tar.gz rust-92743dc2a6a14d042d4b278e4a4dde5ca198c886.zip | |
Move the world over to using the new style string literals and types. Closes #2907.
Diffstat (limited to 'src/test/bench/std-smallintmap.rs')
| -rw-r--r-- | src/test/bench/std-smallintmap.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/bench/std-smallintmap.rs b/src/test/bench/std-smallintmap.rs index 4a712e2d995..865385d81b0 100644 --- a/src/test/bench/std-smallintmap.rs +++ b/src/test/bench/std-smallintmap.rs @@ -17,11 +17,11 @@ fn check_sequential(min: uint, max: uint, map: smallintmap<uint>) { } } -fn main(args: ~[str]) { - let args = if os::getenv("RUST_BENCH").is_some() { - ~["", "100000", "100"] +fn main(args: ~[~str]) { + let args = if os::getenv(~"RUST_BENCH").is_some() { + ~[~"", ~"100000", ~"100"] } else if args.len() <= 1u { - ~["", "10000", "50"] + ~[~"", ~"10000", ~"50"] } else { args }; |
