diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-06-26 13:55:56 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-06-30 16:01:49 -0700 |
| commit | a3382b6f26e582210a3b649c9a71badaef0530bf (patch) | |
| tree | bd30506542a14a132b09aae154417c7cc9312498 /src/libcore/rand.rs | |
| parent | 8b2491160d71aa7a84ed822b85e9b3eff6097225 (diff) | |
Eliminate usages of old sugared call syntax
Diffstat (limited to 'src/libcore/rand.rs')
| -rw-r--r-- | src/libcore/rand.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/rand.rs b/src/libcore/rand.rs index ed4be4e9d64..1eb0983b7e4 100644 --- a/src/libcore/rand.rs +++ b/src/libcore/rand.rs @@ -152,7 +152,7 @@ impl extensions for rng { #[doc = "Return a random byte string of the specified length"] fn gen_bytes(len: uint) -> ~[u8] { - vec::from_fn(len) {|_i| + do vec::from_fn(len) {|_i| self.gen_u8() } } |
