mirror of https://github.com/fafhrd91/actix-web
Better comment
This commit is contained in:
parent
48069a71ed
commit
288becfea3
|
@ -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!()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue