File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
branches/snap-stage3/src/librustc/back Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: d387e787124218534c72356e142ac78384380c85
4
+ refs/heads/snap-stage3: 567cf30450c4c1ff15938c9c6a2519440e47a00e
5
5
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -660,7 +660,8 @@ pub fn sanitize(s: &str) -> ~str {
660
660
| '_' => result. push_char( c) ,
661
661
662
662
_ => {
663
- let tstr = char:: escape_unicode( c) ;
663
+ let mut tstr = ~"";
664
+ do char:: escape_unicode( c) |c| { tstr. push_char( c) ; }
664
665
result. push_char( '$' ) ;
665
666
result. push_str( tstr. slice_from( 1 ) ) ;
666
667
}
You can’t perform that action at this time.
0 commit comments