aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/simple.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/simple.rs b/examples/simple.rs
index 563530c..3edcf5d 100644
--- a/examples/simple.rs
+++ b/examples/simple.rs
@@ -78,7 +78,7 @@ enum DataError
InvalidFavorites(#[from] FavoritesError),
#[error(transparent)]
- DeserializeFailed(#[from] DeserializerError<Infallible>),
+ DeserializerFailed(#[from] DeserializerError<Infallible>),
}
impl_from_deserializer_error!(DataError);
@@ -117,7 +117,7 @@ impl DeserializeTagged for Favorites
enum FavoritesError
{
#[error(transparent)]
- DeserializeFailed(#[from] DeserializerError<Infallible>),
+ DeserializerFailed(#[from] DeserializerError<Infallible>),
}
impl_from_deserializer_error!(FavoritesError);