(e: E)
| 396 | } |
| 397 | |
| 398 | fn invalid_data<E>(e: E) -> io::Error |
| 399 | where |
| 400 | E: Into<Box<dyn std::error::Error + Send + Sync>>, |
| 401 | { |
| 402 | io::Error::new(io::ErrorKind::InvalidData, e) |
| 403 | } |
| 404 | |
| 405 | #[cfg(test)] |
| 406 | mod tests { |
no test coverage detected
searching dependent graphs…