@@ -1930,7 +1930,6 @@ pub fn print_ty_fn(s: @ps,
1930
1930
1931
1931
// Duplicates the logic in `print_fn_header_info()`. This is because that
1932
1932
// function prints the sigil in the wrong place. That should be fixed.
1933
- print_self_ty_if_static(s, opt_self_ty);
1934
1933
print_opt_abi(s, opt_abi);
1935
1934
print_opt_sigil(s, opt_sigil);
1936
1935
print_opt_lifetime(s, opt_region);
@@ -2159,14 +2158,6 @@ pub fn next_comment(s: @ps) -> Option<comments::cmnt> {
2159
2158
}
2160
2159
}
2161
2160
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
-
2170
2161
pub fn print_opt_purity( s: @ps, opt_purity: Option <ast:: purity>) {
2171
2162
match opt_purity {
2172
2163
Some ( ast:: impure_fn) => { }
@@ -2199,7 +2190,6 @@ pub fn print_fn_header_info(s: @ps,
2199
2190
onceness: ast:: Onceness ,
2200
2191
opt_sigil: Option <ast:: Sigil >,
2201
2192
vis: ast:: visibility) {
2202
- print_self_ty_if_static(s, opt_sty);
2203
2193
word ( s. s , visibility_qualified ( vis, ~"") ) ;
2204
2194
print_opt_purity ( s, opt_purity) ;
2205
2195
print_onceness ( s, onceness) ;
0 commit comments