Skip to content

Commit ef5ac86

Browse files
committed
---
yaml --- r: 139223 b: refs/heads/try2 c: 8aee0a6 h: refs/heads/master i: 139221: 5e77d50 139219: a41d1ed 139215: 6499636 v: v3
1 parent c17e616 commit ef5ac86

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 28efc234f49f6c8718465108a16f1db8b0113cfb
8+
refs/heads/try2: 8aee0a6a2972f0c62777cb757184c01042513973
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/libsyntax/print/pprust.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1930,7 +1930,6 @@ pub fn print_ty_fn(s: @ps,
19301930
19311931
// Duplicates the logic in `print_fn_header_info()`. This is because that
19321932
// function prints the sigil in the wrong place. That should be fixed.
1933-
print_self_ty_if_static(s, opt_self_ty);
19341933
print_opt_abi(s, opt_abi);
19351934
print_opt_sigil(s, opt_sigil);
19361935
print_opt_lifetime(s, opt_region);
@@ -2159,14 +2158,6 @@ pub fn next_comment(s: @ps) -> Option<comments::cmnt> {
21592158
}
21602159
}
21612160

2162-
pub fn print_self_ty_if_static(s: @ps,
2163-
opt_self_ty: Option<ast::self_ty_>) {
2164-
match opt_self_ty {
2165-
Some(ast::sty_static) => { word(s.s, ~"static "); }
2166-
_ => {}
2167-
}
2168-
}
2169-
21702161
pub fn print_opt_purity(s: @ps, opt_purity: Option<ast::purity>) {
21712162
match opt_purity {
21722163
Some(ast::impure_fn) => { }
@@ -2199,7 +2190,6 @@ pub fn print_fn_header_info(s: @ps,
21992190
onceness: ast::Onceness,
22002191
opt_sigil: Option<ast::Sigil>,
22012192
vis: ast::visibility) {
2202-
print_self_ty_if_static(s, opt_sty);
22032193
word(s.s, visibility_qualified(vis, ~""));
22042194
print_opt_purity(s, opt_purity);
22052195
print_onceness(s, onceness);

0 commit comments

Comments
 (0)