mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-11 13:19:18 +00:00
fix(advanced_errors): Fix unit test unreachable_patterns warning
This commit is contained in:
parent
af91eb508a
commit
76acb9f534
@ -64,7 +64,6 @@ impl Display for ParseClimateError {
|
|||||||
match self {
|
match self {
|
||||||
NoCity => write!(f, "no city name"),
|
NoCity => write!(f, "no city name"),
|
||||||
ParseFloat(e) => write!(f, "error parsing temperature: {}", e),
|
ParseFloat(e) => write!(f, "error parsing temperature: {}", e),
|
||||||
_ => write!(f, "unhandled error!"),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user