From f91a47ff6bb03a99ca4c82672ba95aa8729beeb4 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 14 May 2023 19:03:55 +0200 Subject: docs: rename error variants in the simple example --- examples/simple.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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), + DeserializerFailed(#[from] DeserializerError), } impl_from_deserializer_error!(DataError); @@ -117,7 +117,7 @@ impl DeserializeTagged for Favorites enum FavoritesError { #[error(transparent)] - DeserializeFailed(#[from] DeserializerError), + DeserializerFailed(#[from] DeserializerError), } impl_from_deserializer_error!(FavoritesError); -- cgit v1.2.3-18-g5258