Skip to content

Commit 12ad1b0

Browse files
committed
libsyntax: De-@mut CurrentCommentAndLiteral
1 parent 522a68d commit 12ad1b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libsyntax/print/pprust.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ pub struct ps {
7272
intr: @token::ident_interner,
7373
comments: Option<~[comments::cmnt]>,
7474
literals: Option<~[comments::lit]>,
75-
cur_cmnt_and_lit: @mut CurrentCommentAndLiteral,
75+
cur_cmnt_and_lit: CurrentCommentAndLiteral,
7676
boxes: @mut ~[pp::breaks],
7777
ann: @pp_ann
7878
}
@@ -101,7 +101,7 @@ pub fn rust_printer_annotated(writer: ~io::Writer,
101101
intr: intr,
102102
comments: None::<~[comments::cmnt]>,
103103
literals: None::<~[comments::lit]>,
104-
cur_cmnt_and_lit: @mut CurrentCommentAndLiteral {
104+
cur_cmnt_and_lit: CurrentCommentAndLiteral {
105105
cur_cmnt: 0,
106106
cur_lit: 0
107107
},
@@ -144,7 +144,7 @@ pub fn print_crate(cm: @CodeMap,
144144
} else {
145145
Some(lits)
146146
},
147-
cur_cmnt_and_lit: @mut CurrentCommentAndLiteral {
147+
cur_cmnt_and_lit: CurrentCommentAndLiteral {
148148
cur_cmnt: 0,
149149
cur_lit: 0
150150
},

0 commit comments

Comments
 (0)