File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1539,8 +1539,8 @@ fn print_remaining_comments(s: ps) {
1539
1539
fn print_literal ( s : ps , & & lit: @ast:: lit ) {
1540
1540
maybe_print_comment ( s, lit. span . lo ) ;
1541
1541
alt next_lit( s, lit. span . lo ) {
1542
- some ( lt ) {
1543
- word ( s. s , lt . lit ) ;
1542
+ some ( ltrl ) {
1543
+ word ( s. s , ltrl . lit ) ;
1544
1544
ret;
1545
1545
}
1546
1546
_ { }
@@ -1589,10 +1589,10 @@ fn next_lit(s: ps, pos: uint) -> option<comments::lit> {
1589
1589
alt s. literals {
1590
1590
some ( lits) {
1591
1591
while s. cur_lit < vec:: len ( lits) {
1592
- let lt = lits[ s. cur_lit ] ;
1593
- if lt . pos > pos { ret none; }
1592
+ let ltrl = lits[ s. cur_lit ] ;
1593
+ if ltrl . pos > pos { ret none; }
1594
1594
s. cur_lit += 1 u;
1595
- if lt . pos == pos { ret some ( lt ) ; }
1595
+ if ltrl . pos == pos { ret some ( ltrl ) ; }
1596
1596
}
1597
1597
ret none;
1598
1598
}
You can’t perform that action at this time.
0 commit comments