File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
branches/auto/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 @@ -14,6 +14,6 @@ refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0
14
14
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
15
15
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
16
16
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
17
- refs/heads/auto: d387e787124218534c72356e142ac78384380c85
17
+ refs/heads/auto: 567cf30450c4c1ff15938c9c6a2519440e47a00e
18
18
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
19
19
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
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