From 7584fb2d1912f511ba12b101feead539f330b333 Mon Sep 17 00:00:00 2001 From: Lokathor Date: Thu, 19 Sep 2019 22:19:38 -0600 Subject: [PATCH] Update lib.rs --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index f535c35..5066370 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -62,6 +62,9 @@ pub enum PodCastError { /// When casting an individual `T`, `&T`, or `&mut T` value the source size /// and destination size must be an exact match. SizeMismatch, + /// For this type of cast the alignments must be exactly the same and they + /// were not so now you're sad. + AlignmentMismatch, } /// Cast `T` into `U`