Skip to content

Commit 17d3a55

Browse files
committed
@mut fix
1 parent 25c4676 commit 17d3a55

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libsyntax/ext/tt/transcribe.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,15 @@ pure fn lookup_cur_matched_by_matched(r: @mut TtReader,
121121
vec::foldl(start, r.repeat_idx, red)
122122
}
123123

124-
fn lookup_cur_matched(r: &TtReader, name: ident) -> @named_match {
124+
fn lookup_cur_matched(r: @mut TtReader, name: ident) -> @named_match {
125125
lookup_cur_matched_by_matched(r, r.interpolations.get(&name))
126126
}
127127
enum lis {
128128
lis_unconstrained, lis_constraint(uint, ident), lis_contradiction(~str)
129129
}
130130

131-
fn lockstep_iter_size(t: token_tree, r: &TtReader) -> lis {
132-
fn lis_merge(lhs: lis, rhs: lis, r: &TtReader) -> lis {
131+
fn lockstep_iter_size(t: token_tree, r: @mut TtReader) -> lis {
132+
fn lis_merge(lhs: lis, rhs: lis, r: @mut TtReader) -> lis {
133133
match lhs {
134134
lis_unconstrained => rhs,
135135
lis_contradiction(_) => lhs,

0 commit comments

Comments
 (0)