(self)
| 22 | |
| 23 | impl Fault { |
| 24 | fn into_error(self) -> PristineError { |
| 25 | match self { |
| 26 | Self::Inconsistent(message) => PristineError::Inconsistent { |
| 27 | message: message.to_string(), |
| 28 | }, |
| 29 | Self::BlockNotFound { change, pos } => PristineError::BlockNotFound { change, pos }, |
| 30 | } |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | #[derive(Default)] |
no outgoing calls
no test coverage detected