Skip to content

Commit f3ac7f6

Browse files
committed
---
yaml --- r: 63932 b: refs/heads/snap-stage3 c: 567cf30 h: refs/heads/master v: v3
1 parent e7b8f7b commit f3ac7f6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 2d28d645422c1617be58c8ca7ad9a457264ca850
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: d387e787124218534c72356e142ac78384380c85
4+
refs/heads/snap-stage3: 567cf30450c4c1ff15938c9c6a2519440e47a00e
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b

branches/snap-stage3/src/librustc/back/link.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,8 @@ pub fn sanitize(s: &str) -> ~str {
660660
| '_' => result.push_char(c),
661661

662662
_ => {
663-
let tstr = char::escape_unicode(c);
663+
let mut tstr = ~"";
664+
do char::escape_unicode(c) |c| { tstr.push_char(c); }
664665
result.push_char('$');
665666
result.push_str(tstr.slice_from(1));
666667
}

0 commit comments

Comments
 (0)