Better comment

This commit is contained in:
nWacky 2019-09-16 18:26:08 +03:00
parent 48069a71ed
commit 288becfea3
1 changed files with 2 additions and 1 deletions

View File

@ -134,7 +134,8 @@ impl std::error::Error for Error {
impl From<std::convert::Infallible> for Error {
fn from(_: std::convert::Infallible) -> Self {
// `std::convert::Infallible` should never happen
// `std::convert::Infallible` indicates an error
// that will never happen
unreachable!()
}
}