fix: 2018 edition lints
@@ -13,7 +13,7 @@ pub struct StringError(pub String);
impl std::error::Error for StringError {}
impl std::fmt::Display for StringError {
- fn fmt(&self, f: &mut std::fmt::Formatter) -> std::result::Result<(), std::fmt::Error> {
+ fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::result::Result<(), std::fmt::Error> {
self.0.fmt(f)
}
}
