(&self, f: &mut fmt::Formatter)
| 119 | |
| 120 | impl fmt::Display for Signature { |
| 121 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { |
| 122 | write!(f, "(")?; |
| 123 | write_list(f, &self.params)?; |
| 124 | write!(f, ")")?; |
| 125 | if !self.returns.is_empty() { |
| 126 | write!(f, " -> ")?; |
| 127 | write_list(f, &self.returns)?; |
| 128 | } |
| 129 | write!(f, " {}", self.call_conv) |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | /// Function parameter or return value descriptor. |
nothing calls this directly
no test coverage detected