(&mut self, lifetime: Option<&str>)
| 1985 | } |
| 1986 | |
| 1987 | fn print_generics(&mut self, lifetime: Option<&str>) { |
| 1988 | if lifetime.is_none() { |
| 1989 | return; |
| 1990 | } |
| 1991 | self.push_str("<"); |
| 1992 | if let Some(lt) = lifetime { |
| 1993 | self.push_str(lt); |
| 1994 | self.push_str(","); |
| 1995 | } |
| 1996 | self.push_str(">"); |
| 1997 | } |
| 1998 | |
| 1999 | fn int_repr(&mut self, repr: Int) { |
| 2000 | self.push_str(int_repr(repr)); |
no test coverage detected