We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0431134 commit 68ad694Copy full SHA for 68ad694
src/libsyntax/ext/deriving/rand.rs
@@ -66,7 +66,7 @@ fn rand_substructure(cx: &mut ExtCtxt, trait_span: Span, substr: &Substructure)
66
cx.ident_of("Rand"),
67
cx.ident_of("rand")
68
);
69
- let mut rand_call = |&mut: cx: &mut ExtCtxt, span| {
+ let rand_call = |&: cx: &mut ExtCtxt, span| {
70
cx.expr_call_global(span,
71
rand_ident.clone(),
72
vec!(rng.clone()))
0 commit comments