(&self, fmt: &mut core::fmt::Formatter<'_>)
| 404 | |
| 405 | impl Display for TestError { |
| 406 | fn fmt(&self, fmt: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { |
| 407 | fmt.write_str("TestError(")?; |
| 408 | core::fmt::Display::fmt(&self.0, fmt)?; |
| 409 | fmt.write_str(")") |
| 410 | } |
| 411 | } |
| 412 | |
| 413 | impl core::error::Error for TestError {} |