Skip to content

Commit 7a59a88

Browse files
committed
---
yaml --- r: 63295 b: refs/heads/snap-stage3 c: e6c3e4a h: refs/heads/master i: 63293: 28e42e0 63291: 632b9b6 63287: 29e8d3f 63279: de6f080 63263: 009fdbd 63231: ef08c0a v: v3
1 parent e36a638 commit 7a59a88

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: f93a974558bf09bee475427158150ba6e008cdd8
4+
refs/heads/snap-stage3: e6c3e4a000557580e75464f843714bd34ae00c99
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/libsyntax/ext/deriving/rand.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ fn rand_substructure(cx: @ExtCtxt, span: span, substr: &Substructure) -> @expr {
7878

7979
let variant_count = cx.expr_uint(span, variants.len());
8080

81-
// need to specify the u32-ness of the random number
82-
let u32_ty = cx.ty_ident(span, cx.ident_of("u32"));
81+
// need to specify the uint-ness of the random number
82+
let uint_ty = cx.ty_ident(span, cx.ident_of("uint"));
8383
let r_ty = cx.ty_ident(span, cx.ident_of("R"));
84-
let rand_name = cx.path_all(span, true, copy rand_ident, None, ~[ u32_ty, r_ty ]);
84+
let rand_name = cx.path_all(span, true, copy rand_ident, None, ~[ uint_ty, r_ty ]);
8585
let rand_name = cx.expr_path(rand_name);
8686

87-
// ::std::rand::Rand::rand::<u32>(rng)
87+
// ::std::rand::Rand::rand::<uint>(rng)
8888
let rv_call = cx.expr_call(span,
8989
rand_name,
9090
~[ rng[0].duplicate(cx) ]);

0 commit comments

Comments
 (0)