@@ -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-
21702161pub 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